forked from VimPlug/jedi
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