summaryrefslogtreecommitdiff
path: root/Lib/test/pydocfodder.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2020-04-30 12:12:19 -0700
committerGitHub <noreply@github.com>2020-04-30 12:12:19 -0700
commitc001c09e9059ba04bc088349cd87a1374dc0754f (patch)
tree74603d5653001e6fd7f4c02e2ddaed2efbdfb5a4 /Lib/test/pydocfodder.py
parentefb8dd5b3ec91f7d9458d3f203d748604d52b121 (diff)
downloadcpython-git-c001c09e9059ba04bc088349cd87a1374dc0754f.tar.gz
bpo-40334: Support type comments (GH-19780)
This implements full support for # type: <type> comments, # type: ignore <stuff> comments, and the func_type parsing mode for ast.parse() and compile(). Closes https://github.com/we-like-parsers/cpython/issues/95. (For now, you need to use the master branch of mypy, since another issue unique to 3.9 had to be fixed there, and there's no mypy release yet.) The only thing missing is `feature_version=N`, which is being tracked in https://github.com/we-like-parsers/cpython/issues/124.
Diffstat (limited to 'Lib/test/pydocfodder.py')
0 files changed, 0 insertions, 0 deletions