email.charset.Charset.header_encode()

header_encode(string) Header-encode the string string. The type of encoding (base64 or quoted-printable) will be based on the header_encoding attribute.

multiprocessing.pool.Pool.apply()

apply(func[, args[, kwds]]) Call func with arguments args and keyword arguments kwds. It blocks until the result is ready. Given this blocks, apply_async() is better suited for performing work in parallel. Additionally, func is only executed in one of the workers of the pool.

ftplib.FTP.abort()

FTP.abort() Abort a file transfer that is in progress. Using this does not always work, but it’s worth a try.

uuid.UUID.bytes_le

UUID.bytes_le The UUID as a 16-byte string (with time_low, time_mid, and time_hi_version in little-endian byte order).

stat.S_ISFIFO()

stat.S_ISFIFO(mode) Return non-zero if the mode is from a FIFO (named pipe).

urllib.robotparser.RobotFileParser.can_fetch()

can_fetch(useragent, url) Returns True if the useragent is allowed to fetch the url according to the rules contained in the parsed robots.txt file.

id()

id(object) Return the “identity” of an object. This is an integer which is guaranteed to be unique and constant for this object during its lifetime. Two objects with non-overlapping lifetimes may have the same id() value. CPython implementation detail: This is the address of the object in memory.

http.cookiejar.Cookie.domain_specified

Cookie.domain_specified True if a domain was explicitly specified by the server.

gc.get_referrers()

gc.get_referrers(*objs) Return the list of objects that directly refer to any of objs. This function will only locate those containers which support garbage collection; extension types which do refer to other objects but do not support garbage collection will not be found. Note that objects which have already been dereferenced, but which live in cycles and have not yet been collected by the garbage collector can be listed among the resulting referrers. To get only currently live objects, cal

curses.flushinp()

curses.flushinp() Flush all input buffers. This throws away any typeahead that has been typed by the user and has not yet been processed by the program.