]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix rendering of null character in ast.rst (#116080)
authorShantanu <12621235+hauntsaninja@users.noreply.github.com>
Thu, 29 Feb 2024 22:09:06 +0000 (14:09 -0800)
committerGitHub <noreply@github.com>
Thu, 29 Feb 2024 22:09:06 +0000 (14:09 -0800)
Doc/library/ast.rst

index 5ed6eb63c0fb623cfb256e1c8245f8969c6c2341..d10f3f275c0eafec8de96987a45f6d131805b1a4 100644 (file)
@@ -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