Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ _create_opener
Method
_create_opener
Lib/xml/dom/xmlbuilder.py:244–246 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
242
return
self._opener
243
244
def
_create_opener(self):
245
import
urllib.request
246
return
urllib.request.build_opener()
247
248
def
_guess_media_encoding(self, source):
249
info = source.byteStream.info()
Callers
1
_get_opener
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected