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

miss-islington webhook-mailer at python.org
Mon Jul 18 13:33:56 EDT 2022


https://github.com/python/cpython/commit/95ae29d508af16be5221692eecdfe7077ebd5f3f
commit: 95ae29d508af16be5221692eecdfe7077ebd5f3f
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-07-18T10:33:47-07:00
summary:

Fix incorrect double indent in ast doc (GH-94976)


Warning directive indent was 4 rather than 3 spaces.
(cherry picked from commit a25a803c4c452c70da11be3e80004b47646bff4c)

Co-authored-by: Terry Jan Reedy <tjreedy at udel.edu>

files:
M Doc/library/ast.rst

diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 1133f022da56c..bbafcee5246f8 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -1919,7 +1919,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