mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-26 02:08:37 +08:00
re-enable the interpretation of the None keyword
This commit is contained in:
@@ -13,7 +13,8 @@ def next(iterator, default=None):
|
||||
else:
|
||||
return iterator.__next__()
|
||||
else:
|
||||
return default
|
||||
if default is not None:
|
||||
return default
|
||||
|
||||
|
||||
def iter(collection, sentinel=None):
|
||||
|
||||
Reference in New Issue
Block a user