summaryrefslogtreecommitdiffstats
path: root/Doc/library/ast.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/ast.rst')
-rw-r--r--Doc/library/ast.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 45f16c1..fc04114 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -1704,7 +1704,7 @@ and classes for traversing abstract syntax trees:
value=Name(id='data', ctx=Load()),
slice=Constant(value=node.id),
ctx=node.ctx
- ), node)
+ )
Keep in mind that if the node you're operating on has child nodes you must
either transform the child nodes yourself or call the :meth:`generic_visit`