mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-94997)
This commit is contained in:
parent
d2373fcb49
commit
b5e3ea2862
5 changed files with 15 additions and 6 deletions
|
|
@ -0,0 +1 @@
|
|||
:func:`ast.parse` will no longer parse function definitions with positional-only params when passed ``feature_version`` less than ``(3, 8)``. Patch by Shantanu Jain.
|
||||
Loading…
Add table
Add a link
Reference in a new issue