From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Thu, 29 Feb 2024 22:09:06 +0000 (-0800) Subject: Fix rendering of null character in ast.rst (#116080) X-Git-Tag: v3.13.0a5~170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c04a981ff414b101736688773dbe24f824ca32ce;p=thirdparty%2FPython%2Fcpython.git Fix rendering of null character in ast.rst (#116080) --- diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 5ed6eb63c0fb..d10f3f275c0e 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -2193,7 +2193,7 @@ and classes for traversing abstract syntax trees: is no guarantee that the parse (or success of the parse) is the same as when run on the Python version corresponding to ``feature_version``. - 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