From 95ae29d508af16be5221692eecdfe7077ebd5f3f Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Mon, 18 Jul 2022 10:33:47 -0700 Subject: [PATCH] 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 --- Doc/library/ast.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 1133f022da56c0..bbafcee5246f82 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`