]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix markup bug
authorGuido van Rossum <guido@python.org>
Mon, 28 Jan 2019 20:05:05 +0000 (12:05 -0800)
committerGuido van Rossum <guido@python.org>
Mon, 28 Jan 2019 20:05:05 +0000 (12:05 -0800)
Doc/library/ast.rst

index 359b627c1dc59ff543d6cda9dfec72f4d7f35c44..3df7f9ebc70cc70d8cdfd22c3005e74704f01d6f 100644 (file)
@@ -132,7 +132,7 @@ and classes for traversing abstract syntax trees:
    filename, mode, ast.PyCF_ONLY_AST)``.
 
    If ``type_comments=True`` is given, the parser is modified to check
-   and return type comments as specified by :pep:`484` and :pep:526`.
+   and return type comments as specified by :pep:`484` and :pep:`526`.
    This is equivalent to adding :data:`ast.PyCF_TYPE_COMMENTS` to the
    flags passed to :func:`compile()`.  This will report syntax errors
    for misplaced type comments.  Without this flag, type comments will