Skip to content

Commit 88bd390

Browse files
committed
Use next(iterator)
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent 1d5f2e9 commit 88bd390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/importcompletion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def find_coroutine():
198198
return None
199199

200200
try:
201-
find_iterator.next()
201+
next(find_iterator)
202202
except StopIteration:
203203
fully_loaded = True
204204

0 commit comments

Comments
 (0)