socket.socket.type

socket.type The socket type.

asynchat.async_chat.discard_buffers()

async_chat.discard_buffers() In emergencies this method will discard any data held in the input and/or output buffers and the producer fifo.

bdb.BdbQuit

exception bdb.BdbQuit Exception raised by the Bdb class for quitting the debugger.

ConnectionRefusedError

exception ConnectionRefusedError A subclass of ConnectionError, raised when a connection attempt is refused by the peer. Corresponds to errno ECONNREFUSED.

ftplib.FTP.cwd()

FTP.cwd(pathname) Set the current directory on the server.

ipaddress.IPv4Network.network_address

network_address The network address for the network. The network address and the prefix length together uniquely define a network.

asyncio.IncompleteReadError.expected

expected Total number of expected bytes (int).

cgi.print_environ_usage()

cgi.print_environ_usage() Print a list of useful (used by CGI) environment variables in HTML.

netrc.NetrcParseError

exception netrc.NetrcParseError Exception raised by the netrc class when syntactical errors are encountered in source text. Instances of this exception provide three interesting attributes: msg is a textual explanation of the error, filename is the name of the source file, and lineno gives the line number on which the error was found.

http.cookiejar.FileCookieJar.load()

FileCookieJar.load(filename=None, ignore_discard=False, ignore_expires=False) Load cookies from a file. Old cookies are kept unless overwritten by newly loaded ones. Arguments are as for save(). The named file must be in the format understood by the class, or LoadError will be raised. Also, OSError may be raised, for example if the file does not exist. Changed in version 3.3: IOError used to be raised, it is now an alias of OSError.