From b68270ce090f6ccb44308e4f77f02c7819c5177d Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 28 Jan 2019 12:05:05 -0800 Subject: [PATCH] Fix markup bug --- Doc/library/ast.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 359b627c1dc5..3df7f9ebc70c 100644 --- a/Doc/library/ast.rst +++ b/Doc/library/ast.rst @@ -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 -- 2.47.3