From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 18 Jul 2022 17:33:47 +0000 (-0700) Subject: Fix incorrect double indent in ast doc (GH-94976) X-Git-Tag: v3.10.6~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=95ae29d508af16be5221692eecdfe7077ebd5f3f;p=thirdparty%2FPython%2Fcpython.git 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 --- diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 1133f022da56..bbafcee5246f 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`