diff options
author | Georg Brandl <georg@python.org> | 2011-01-09 07:55:46 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-01-09 07:55:46 (GMT) |
commit | 7fdc746a81a29a5f917fb41500b03c92adf40851 (patch) | |
tree | 4fcfdeda32dbf260b44ac4e0c486674c6191774e /Doc | |
parent | 389af0037175ec5327d401b3d4a3b13d509cc926 (diff) | |
download | cpython-7fdc746a81a29a5f917fb41500b03c92adf40851.zip cpython-7fdc746a81a29a5f917fb41500b03c92adf40851.tar.gz cpython-7fdc746a81a29a5f917fb41500b03c92adf40851.tar.bz2 |
Merged revisions 87876-87877 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
........
r87876 | georg.brandl | 2011-01-09 08:38:51 +0100 (So, 09 Jan 2011) | 1 line
#10869: do not visit root node twice in ast.increment_lineno().
........
r87877 | georg.brandl | 2011-01-09 08:50:48 +0100 (So, 09 Jan 2011) | 1 line
Add missing line.
........
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/ast.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 888ddae..ae57e80 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -167,9 +167,9 @@ and classes for traversing abstract syntax trees: .. function:: walk(node) - Recursively yield all child nodes of *node*, in no specified order. This is - useful if you only want to modify nodes in place and don't care about the - context. + Recursively yield all descendant nodes in the tree starting at *node* + (including *node* itself), in no specified order. This is useful if you only + want to modify nodes in place and don't care about the context. .. class:: NodeVisitor() |