aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom/Common.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyGHDL/dom/Common.py')
-rw-r--r--pyGHDL/dom/Common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/dom/Common.py b/pyGHDL/dom/Common.py
index 5a8ac793f..4e02b9678 100644
--- a/pyGHDL/dom/Common.py
+++ b/pyGHDL/dom/Common.py
@@ -73,12 +73,12 @@ class GHDLMixin:
@classmethod
def _ghdlNodeToName(cls, node):
- """Return the python string from node :param:`node` identifier"""
+ """Return the python string from node :obj:`node` identifier"""
return name_table.Get_Name_Ptr(nodes.Get_Identifier(node)).decode("utf-8")
@classmethod
def _ghdlPortToMode(cls, port):
- """Return the mode of a port."""
+ """Return the mode of a :obj:`port`."""
try:
return cls._MODE_TRANSLATION[nodes.Get_Mode(port)]
except KeyError: