py_compile.PyCompileError

exception py_compile.PyCompileError Exception raised when an error occurs while attempting to compile the file.

concurrent.futures.Future.set_exception()

set_exception(exception) Sets the result of the work associated with the Future to the Exception exception. This method should only be used by Executor implementations and unit tests.

datetime.date.__format__()

date.__format__(format) Same as date.strftime(). This makes it possible to specify a format string for a date object when using str.format(). For a complete list of formatting directives, see strftime() and strptime() Behavior.

readline.add_history()

readline.add_history(line) Append line to the history buffer, as if it was the last line typed. This calls add_history() in the underlying library.

mailbox.Mailbox.iteritems()

iteritems() items() Return an iterator over (key, message) pairs, where key is a key and message is a message representation, if called as iteritems() or return a list of such pairs if called as items(). The messages are represented as instances of the appropriate format-specific Message subclass unless a custom message factory was specified when the Mailbox instance was initialized.

os.WIFEXITED()

os.WIFEXITED(status) Return True if the process exited using the exit(2) system call, otherwise return False. Availability: Unix.

collections.deque.count()

count(x) Count the number of deque elements equal to x. New in version 3.2.

socketserver.BaseServer.RequestHandlerClass

RequestHandlerClass The user-provided request handler class; an instance of this class is created for each request.

dis.Bytecode.info()

info() Return a formatted multi-line string with detailed information about the code object, like code_info().

queue.Queue.empty()

Queue.empty() Return True if the queue is empty, False otherwise. If empty() returns True it doesn’t guarantee that a subsequent call to put() will not block. Similarly, if empty() returns False it doesn’t guarantee that a subsequent call to get() will not block.