mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-17 05:49:37 +08:00
generators work again (deleted some necessary stuff)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
def next(iterator, default=1):
|
||||
def next(iterator, default=None):
|
||||
if hasattr("next"):
|
||||
return iterator.next()
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user