Skip to content

Commit 684293d

Browse files
committed
doc string tweak
1 parent 95e1ca1 commit 684293d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

NodeGraphQt/base/menu.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class NodeGraphMenu(object):
1010
"""
1111
The ``NodeGraphMenu`` is the context menu triggered from the node graph.
1212
13-
example to accessing the node graph context menu.
13+
example for accessing the node graph context menu.
1414
1515
.. code-block:: python
1616
:linenos:
@@ -21,6 +21,9 @@ class NodeGraphMenu(object):
2121
2222
# get the context menu for the node graph.
2323
context_menu = node_graph.get_context_menu('graph')
24+
25+
print(context_menu)
26+
# >> <NodeGraphMenu("NodeGraph") object at 0x10910fdd8>
2427
"""
2528

2629
def __init__(self, graph, qmenu):

0 commit comments

Comments
 (0)