summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-07-18 17:33:47 (GMT)
committerGitHub <noreply@github.com>2022-07-18 17:33:47 (GMT)
commit95ae29d508af16be5221692eecdfe7077ebd5f3f (patch)
treeff0c3b579dc47eea40496dc88d5bf11494435b2a /Doc
parenta923eb47c29a1cbcbc12e1996700f50b0f3bf19e (diff)
downloadcpython-95ae29d508af16be5221692eecdfe7077ebd5f3f.zip
cpython-95ae29d508af16be5221692eecdfe7077ebd5f3f.tar.gz
cpython-95ae29d508af16be5221692eecdfe7077ebd5f3f.tar.bz2
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@udel.edu>
Diffstat (limited to 'Doc')
-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 1133f02..bbafcee 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`