◐ Shell
clean mode source ↗

[3.8] bpo-35766: compile(): rename feature_version parameter (GH-13994) by miss-islington · Pull Request #13995 · python/cpython

Rename compile() feature_version parameter to _feature_version and
convert it to a keyword-only parameter.

Update also test_type_comments to pass feature_version as a tuple.
(cherry picked from commit efdf6ca)

Co-authored-by: Victor Stinner vstinner@redhat.com

https://bugs.python.org/issue35766