]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-132608: Fix a sample code coloring for ast.While (#132609)
authorTan90909090 <tan9tan@live.jp>
Wed, 16 Apr 2025 19:23:13 +0000 (04:23 +0900)
committerGitHub <noreply@github.com>
Wed, 16 Apr 2025 19:23:13 +0000 (19:23 +0000)
Add missing '>' in prompt.

Doc/library/ast.rst

index fd901e232855b549918aec351cc293de96e81a7f..1a04d42e5f5d7e8478e9d9b46144d9865a75424f 100644 (file)
@@ -1190,7 +1190,7 @@ Control flow
 
    .. doctest::
 
-        >> print(ast.dump(ast.parse("""
+        >>> print(ast.dump(ast.parse("""
         ... while x:
         ...    ...
         ... else: