Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpython/bpython
/ __enter__
Method
__enter__
bpython/filelock.py:39–41 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
37
pass
38
39
def
__enter__(self) ->
"BaseLock"
:
40
self.acquire()
41
return
self
42
43
def
__exit__(
44
self,
Callers
nothing calls this directly
Calls
1
acquire
Method · 0.95
Tested by
no test coverage detected