From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 29 Feb 2024 22:42:31 +0000 (+0100) Subject: [3.11] Fix rendering of null character in ast.rst (GH-116080) (#116161) X-Git-Tag: v3.11.9~123 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da34d55f7f62cfbda71758e6c6febf047ecd14e7;p=thirdparty%2FPython%2Fcpython.git [3.11] Fix rendering of null character in ast.rst (GH-116080) (#116161) Fix rendering of null character in ast.rst (GH-116080) (cherry picked from commit c04a981ff414b101736688773dbe24f824ca32ce) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> --- diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 837d70be0a32..35242878c129 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -2045,7 +2045,7 @@ and classes for traversing abstract syntax trees: ``await`` as variable names. The lowest supported version is ``(3, 4)``; the highest is ``sys.version_info[0:2]``. - If source contains a null character ('\0'), :exc:`ValueError` is raised. + If source contains a null character (``\0``), :exc:`ValueError` is raised. .. warning:: Note that successfully parsing source code into an AST object doesn't