summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2022-07-18 17:24:18 (GMT)
committerGitHub <noreply@github.com>2022-07-18 17:24:18 (GMT)
commita25a803c4c452c70da11be3e80004b47646bff4c (patch)
tree4e220da688738a82a345213ae0a3734d4521aad6
parentdaf68ba92f315bfd239a0c993f9f683fb90325fb (diff)
downloadcpython-a25a803c4c452c70da11be3e80004b47646bff4c.zip
cpython-a25a803c4c452c70da11be3e80004b47646bff4c.tar.gz
cpython-a25a803c4c452c70da11be3e80004b47646bff4c.tar.bz2
Fix incorrect double indent in ast doc (#94976)
Warning directive indent was 4 rather than 3 spaces.
-rw-r--r--Doc/library/ast.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 6a9c23a..9aa545d 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`