Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpython/bpython
/ __bool__
Method
__bool__
bpython/repl.py:237–238 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
235
return
self.index != -1
236
237
def
__bool__(self) -> bool:
238
return
self.index != -1
239
240
@property
241
def
candidate_selected(self) -> bool:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected