Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ makefile
Method
makefile
Lib/test/test_urllib.py:45–47 ·
view source on GitHub ↗
(self, *args, **kwds)
Source
from the content-addressed store, hash-verified
43
FakeHTTPConnection.buf = data
44
45
def
makefile(self, *args, **kwds):
46
self.io_refs += 1
47
return
self
48
49
def
read(self, amt=None):
50
if
self.closed:
Callers
14
__init__
Method · 0.45
test_makefile_close
Method · 0.45
_connect_and_get_client_file
Method · 0.45
test_dealloc_warn
Method · 0.45
test_name_closed_socketio
Method · 0.45
test_unusable_closed_socketio
Method · 0.45
test_makefile_mode
Method · 0.45
test_makefile_invalid_mode
Method · 0.45
setUp
Method · 0.45
clientSetUp
Method · 0.45
testUnbufferedReadline
Method · 0.45
run_client
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected