mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-19 23:37:05 +08:00
Adjust for change to documention change of next in Python 3.12
The signature of the builtin isn't actually changing in Python 3.12, however its documentation has changed.
This commit is contained in:
1 parent
770cdade00
commit
a60fdba1d4
2 files changed
+7
-2
No files matched your search
@@ -13,7 +13,8 @@ from ..helpers import get_example_dir
|
||||
'code, sig, names, op, version', [
|
||||
('import math; math.cos', 'cos(x, /)', ['x'], ge, (3, 6)),
|
||||
|
||||
('next', 'next(iterator, default=None, /)', ['iterator', 'default'], ge, (3, 6)),
|
||||
('next', 'next(iterator, default=None, /)', ['iterator', 'default'], lt, (3, 12)),
|
||||
('next', 'next()', [], ge, (3, 12)),
|
||||
|
||||
('str', "str(object='', /) -> str", ['object'], ge, (3, 6)),
|
||||
|
||||
|
||||
Reference in new issue
Block a user