commit | c00c86b90443dbf3534cc4786a0b42b58db6e8af | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Thu Mar 12 00:48:19 2020 +0000 |
committer | GitHub <noreply@github.com> | Thu Mar 12 00:48:19 2020 +0000 |
tree | ab52af8faa5b0a0de6b8629ddeaf4ca2507186a5 | |
parent | 276a84a0a6c694ce227bf36ec2e2e6ec6686170f [diff] [blame] |
Fix syntax error in an example in the ast documentation and sync docstrings (GH-18946)
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 @@ 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`