]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
A better hack for IndentationError
authorGuido van Rossum <guido@python.org>
Wed, 23 Jan 2019 19:58:41 +0000 (11:58 -0800)
committerGuido van Rossum <guido@python.org>
Wed, 23 Jan 2019 19:58:41 +0000 (11:58 -0800)
commit5d365583ee3720aa5d83590faa6cbcb77f151bae
tree10d07fb2e65114c437863e8d3762fe14a44b6ce6
parent567f34132194ef45e90aa8b440a5c89bebc84f2c
A better hack for IndentationError

This is fragile -- it just substitutes 'suite' when 'func_body_suite'
is found but type comments are off.
Parser/parser.c
Parser/parsetok.c