1
0
forked from VimPlug/jedi

re-enable the interpretation of the None keyword

This commit is contained in:
Dave Halter
2014-08-12 14:38:56 +02:00
parent 469988be9c
commit fb1dba269a
4 changed files with 6 additions and 7 deletions

View File

@@ -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):