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

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


https://github.com/python/cpython/commit/a5c8cecf294716d05f5aaf740321cb57ccc84b46
commit: a5c8cecf294716d05f5aaf740321cb57ccc84b46
branch: 3.11
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:34:09-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 041a099b2043b..b3c59c745ba61 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -1950,7 +1950,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