Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/benoitc/gunicorn
/ __getitem__
Method
__getitem__
gunicorn/http/wsgi.py:35–39 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
33
self.close = filelike.close
34
35
def
__getitem__(self, key):
36
data = self.filelike.read(self.blksize)
37
if
data:
38
return
data
39
raise
IndexError
40
41
def
__iter__(self):
42
return
self
Callers
nothing calls this directly
Calls
1
read
Method · 0.45
Tested by
no test coverage detected