email.generator.BytesGenerator.write()

write(s) Write the string s to the underlying file object. s is encoded using the ASCII codec and written to the write method of the outfp outfp passed to the BytesGenerator‘s constructor. This provides just enough file-like API for BytesGenerator instances to be used in the print() function.

ftplib.FTP_TLS.ccc()

FTP_TLS.ccc() Revert control channel back to plaintext. This can be useful to take advantage of firewalls that know how to handle NAT with non-secure FTP without opening fixed ports. New in version 3.3.

unittest.installHandler()

unittest.installHandler() Install the control-c handler. When a signal.SIGINT is received (usually in response to the user pressing control-c) all registered results have stop() called.

keyword.iskeyword()

keyword.iskeyword(s) Return true if s is a Python keyword.

collections.deque.remove()

remove(value) Remove the first occurrence of value. If not found, raises a ValueError.

curses.window.derwin()

window.derwin(begin_y, begin_x) window.derwin(nlines, ncols, begin_y, begin_x) An abbreviation for “derive window”, derwin() is the same as calling subwin(), except that begin_y and begin_x are relative to the origin of the window, rather than relative to the entire screen. Return a window object for the derived window.

multiprocessing.RLock.acquire()

acquire(block=True, timeout=None) Acquire a lock, blocking or non-blocking. When invoked with the block argument set to True, block until the lock is in an unlocked state (not owned by any process or thread) unless the lock is already owned by the current process or thread. The current process or thread then takes ownership of the lock (if it does not already have ownership) and the recursion level inside the lock increments by one, resulting in a return value of True. Note that there are se

tarfile.TarInfo.islnk()

TarInfo.islnk() Return True if it is a hard link.

gettext.GNUTranslations.lgettext()

GNUTranslations.lgettext(message) Equivalent to gettext(), but the translation is returned as a bytestring encoded in the selected output charset, or in the preferred system encoding if no encoding was explicitly set with set_output_charset().

importlib.machinery.SourcelessFileLoader.get_code()

get_code(fullname) Returns the code object for name created from path.