Lines Matching defs:__init__
248 def __init__(self, sock, debuglevel=0, method=None, url=None):
838 def __init__(self, host, port=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
943 """Connect to the host and port specified in __init__."""
1409 def __init__(self, host, port=None, key_file=None, cert_file=None,
1413 super(HTTPSConnection, self).__init__(host, port, timeout,
1464 # Subclasses that define an __init__ must call Exception.__init__
1475 def __init__(self, version):
1486 def __init__(self, partial, expected=None):
1512 def __init__(self, line):
1519 def __init__(self, line_type):
1520 HTTPException.__init__(self, "got more than %d bytes when reading %s"
1524 def __init__(self, *pos, **kw):
1525 BadStatusLine.__init__(self, "")
1526 ConnectionResetError.__init__(self, *pos, **kw)