aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/dom
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-01-04 15:19:37 +0100
committertgingold <tgingold@users.noreply.github.com>2021-01-05 18:50:44 +0100
commitef5f93a9d726c7c68899beb276c0b7f3f446c196 (patch)
treeef90a9270c7f75ea854a3820fcc087e2dae88f06 /pyGHDL/dom
parente60be77e4f3cbccf67761a3c169799ff59b7086f (diff)
downloadghdl-ef5f93a9d726c7c68899beb276c0b7f3f446c196.tar.gz
ghdl-ef5f93a9d726c7c68899beb276c0b7f3f446c196.tar.bz2
ghdl-ef5f93a9d726c7c68899beb276c0b7f3f446c196.zip
Fixed parameter reference.
Diffstat (limited to 'pyGHDL/dom')
-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: