zipfile.ZipInfo

class zipfile.ZipInfo(filename='NoName', date_time=(1980, 1, 1, 0, 0, 0)) Class used to represent information about a member of an archive. Instances of this class are returned by the getinfo() and infolist() methods of ZipFile objects. Most users of the zipfile module will not need to create these, but only use those created by this module. filename should be the full name of the archive member, and date_time should be a tuple containing six fields which describe the time of the last modifi

binascii.Error

exception binascii.Error Exception raised on errors. These are usually programming errors.

abc.ABCMeta.__subclasshook__()

__subclasshook__(subclass) (Must be defined as a class method.) Check whether subclass is considered a subclass of this ABC. This means that you can customize the behavior of issubclass further without the need to call register() on every class you want to consider a subclass of the ABC. (This class method is called from the __subclasscheck__() method of the ABC.) This method should return True, False or NotImplemented. If it returns True, the subclass is considered a subclass of this ABC. I

urllib.request.Request.origin_req_host

Request.origin_req_host The original host for the request, without port.

math.tanh()

math.tanh(x) Return the hyperbolic tangent of x.

unittest.expectedFailure()

@unittest.expectedFailure Mark the test as an expected failure. If the test fails when run, the test is not counted as a failure.

asyncio.Event.is_set()

is_set() Return True if and only if the internal flag is true.

zipapp.get_interpreter()

zipapp.get_interpreter(archive) Return the interpreter specified in the #! line at the start of the archive. If there is no #! line, return None. The archive argument can be a filename or a file-like object open for reading in bytes mode. It is assumed to be at the start of the archive.

msvcrt.setmode()

msvcrt.setmode(fd, flags) Set the line-end translation mode for the file descriptor fd. To set it to text mode, flags should be os.O_TEXT; for binary, it should be os.O_BINARY.

warnings.formatwarning()

warnings.formatwarning(message, category, filename, lineno, line=None) Format a warning the standard way. This returns a string which may contain embedded newlines and ends in a newline. line is a line of source code to be included in the warning message; if line is not supplied, formatwarning() will try to read the line specified by filename and lineno.