diff options
Diffstat (limited to 'pyGHDL/dom/Common.py')
-rw-r--r-- | pyGHDL/dom/Common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/dom/Common.py b/pyGHDL/dom/Common.py index 4e02b9678..faa4cc0db 100644 --- a/pyGHDL/dom/Common.py +++ b/pyGHDL/dom/Common.py @@ -72,9 +72,9 @@ class GHDLMixin: } @classmethod - def _ghdlNodeToName(cls, node): + def _ghdlNodeToName(cls, node) -> str: """Return the python string from node :obj:`node` identifier""" - return name_table.Get_Name_Ptr(nodes.Get_Identifier(node)).decode("utf-8") + return name_table.Get_Name_Ptr(nodes.Get_Identifier(node)) @classmethod def _ghdlPortToMode(cls, port): |