mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-31861: Add aiter and anext to builtins (#23847)
Co-authored-by: jab <jab@users.noreply.github.com> Co-authored-by: Daniel Pope <mauve@mauveweb.co.uk> Co-authored-by: Justin Wang <justin39@gmail.com>
This commit is contained in:
parent
94faa0724f
commit
f0a6fde882
10 changed files with 373 additions and 28 deletions
|
@ -3860,6 +3860,9 @@ class TestSignatureDefinitions(unittest.TestCase):
|
|||
needs_groups = {"range", "slice", "dir", "getattr",
|
||||
"next", "iter", "vars"}
|
||||
no_signature |= needs_groups
|
||||
# These have unrepresentable parameter default values of NULL
|
||||
needs_null = {"anext"}
|
||||
no_signature |= needs_null
|
||||
# These need PEP 457 groups or a signature change to accept None
|
||||
needs_semantic_update = {"round"}
|
||||
no_signature |= needs_semantic_update
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue