MCPcopy Create free account
hub / github.com/sqlmapproject/sqlmap / Module_six_moves_urllib

Class Module_six_moves_urllib

thirdparty/six/__init__.py:498–509  ·  view source on GitHub ↗

Create a six.moves.urllib namespace that resembles the Python 3 namespace

Source from the content-addressed store, hash-verified

496
497
498class Module_six_moves_urllib(types.ModuleType):
499
500 """Create a six.moves.urllib namespace that resembles the Python 3 namespace"""
501 __path__ = [] # mark as package
502 parse = _importer._get_module("moves.urllib_parse")
503 error = _importer._get_module("moves.urllib_error")
504 request = _importer._get_module("moves.urllib_request")
505 response = _importer._get_module("moves.urllib_response")
506 robotparser = _importer._get_module("moves.urllib_robotparser")
507
508 def __dir__(self):
509 return ['parse', 'error', 'request', 'response', 'robotparser']
510
511_importer._add_module(Module_six_moves_urllib(__name__ + ".moves.urllib"),
512 "moves.urllib")

Callers 1

__init__.pyFile · 0.85

Calls 1

_get_moduleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…