summaryrefslogtreecommitdiffstats
path: root/Doc/library/ast.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 21:18:54 (GMT)
committerGeorg Brandl <georg@python.org>2009-01-03 21:18:54 (GMT)
commit48310cd3f2e02ced9ae836ccbcb67e9af3097d62 (patch)
tree04c86b387c11bfd4835a320e76bbb2ee24626e0d /Doc/library/ast.rst
parent3d3558a4653fcfcbdcbb75bda5d61e93c48f4d51 (diff)
downloadcpython-48310cd3f2e02ced9ae836ccbcb67e9af3097d62.zip
cpython-48310cd3f2e02ced9ae836ccbcb67e9af3097d62.tar.gz
cpython-48310cd3f2e02ced9ae836ccbcb67e9af3097d62.tar.bz2
Remove trailing whitespace.
Diffstat (limited to 'Doc/library/ast.rst')
-rw-r--r--Doc/library/ast.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index b8bc896..2cf9da1 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -114,7 +114,7 @@ and classes for traversing abstract syntax trees:
Parse an expression into an AST node. Equivalent to ``compile(expr,
filename, mode, ast.PyCF_ONLY_AST)``.
-
+
.. function:: literal_eval(node_or_string)
Safely evaluate an expression node or a string containing a Python
@@ -192,7 +192,7 @@ and classes for traversing abstract syntax trees:
.. method:: generic_visit(node)
This visitor calls :meth:`visit` on all children of the node.
-
+
Note that child nodes of nodes that have a custom visitor method won't be
visited unless the visitor calls :meth:`generic_visit` or visits them
itself.