[Python-checkins] Fix incorrect double indent in ast doc (#94976)

terryjreedy webhook-mailer at python.org
Mon Jul 18 13:24:48 EDT 2022


https://github.com/python/cpython/commit/a25a803c4c452c70da11be3e80004b47646bff4c
commit: a25a803c4c452c70da11be3e80004b47646bff4c
branch: main
author: Terry Jan Reedy <tjreedy at udel.edu>
committer: terryjreedy <tjreedy at udel.edu>
date: 2022-07-18T13:24:18-04:00
summary:

Fix incorrect double indent in ast doc (#94976)

Warning directive indent was 4 rather than 3 spaces.

files:
M Doc/library/ast.rst

diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 6a9c23a81867e..9aa545d82007f 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -1951,7 +1951,7 @@ and classes for traversing abstract syntax trees:
 
    If source contains a null character ('\0'), :exc:`ValueError` is raised.
 
-    .. warning::
+   .. warning::
       Note that successfully parsing source code into an AST object doesn't
       guarantee that the source code provided is valid Python code that can
       be executed as the compilation step can raise further :exc:`SyntaxError`



More information about the Python-checkins mailing list