Fix rendering of null character in ast.rst (#116080)
https://github.com/python/cpython/commit/c04a981ff414b101736688773dbe24f824c... commit: c04a981ff414b101736688773dbe24f824ca32ce branch: main author: Shantanu <12621235+hauntsaninja@users.noreply.github.com> committer: hauntsaninja <12621235+hauntsaninja@users.noreply.github.com> date: 2024-02-29T14:09:06-08:00 summary: Fix rendering of null character in ast.rst (#116080) files: M Doc/library/ast.rst diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 5ed6eb63c0fb62..d10f3f275c0eaf 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
participants (1)
-
hauntsaninja