Skip to content

Commit a03e345

Browse files
committed
Refactor
1 parent 6badea5 commit a03e345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/importcompletion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ def find_all_modules(
240240
self.modules.add(module)
241241
yield
242242

243-
def find_coroutine(self) -> Optional[bool]:
243+
def find_coroutine(self) -> bool:
244244
if self.fully_loaded:
245-
return None
245+
return False
246246

247247
try:
248248
next(self.find_iterator)

0 commit comments

Comments
 (0)