types.FrameType

types.FrameType The type of frame objects such as found in tb.tb_frame if tb is a traceback object.

code.interact()

code.interact(banner=None, readfunc=None, local=None) Convenience function to run a read-eval-print loop. This creates a new instance of InteractiveConsole and sets readfunc to be used as the InteractiveConsole.raw_input() method, if provided. If local is provided, it is passed to the InteractiveConsole constructor for use as the default namespace for the interpreter loop. The interact() method of the instance is then run with banner passed as the banner to use, if provided. The console obje

io.RawIOBase.write()

write(b) Write the given bytes-like object, b, to the underlying raw stream, and return the number of bytes written. This can be less than the length of b in bytes, depending on specifics of the underlying raw stream, and especially if it is in non-blocking mode. None is returned if the raw stream is set not to block and no single byte could be readily written to it. The caller may release or mutate b after this method returns, so the implementation should only access b during the method cal

set.remove()

remove(elem) Remove element elem from the set. Raises KeyError if elem is not contained in the set.

unittest.TestResult.unexpectedSuccesses

unexpectedSuccesses A list containing TestCase instances that were marked as expected failures, but succeeded.

asyncio.Server

class asyncio.Server Server listening on sockets. Object created by the AbstractEventLoop.create_server() method and the start_server() function. Don’t instantiate the class directly. close() Stop serving: close listening sockets and set the sockets attribute to None. The sockets that represent existing incoming client connections are left open. The server is closed asynchronously, use the wait_closed() coroutine to wait until the server is closed. coroutine wait_closed() Wait until

bytearray

class bytearray([source[, encoding[, errors]]]) Return a new array of bytes. The bytearray class is a mutable sequence of integers in the range 0 <= x < 256. It has most of the usual methods of mutable sequences, described in Mutable Sequence Types, as well as most methods that the bytes type has, see Bytes and Bytearray Operations. The optional source parameter can be used to initialize the array in a few different ways: If it is a string, you must also give the encoding (and optional

tracemalloc.Frame.filename

filename Filename (str).

gettext.GNUTranslations.gettext()

GNUTranslations.gettext(message) Look up the message id in the catalog and return the corresponding message string, as a Unicode string. If there is no entry in the catalog for the message id, and a fallback has been set, the look up is forwarded to the fallback’s gettext() method. Otherwise, the message id is returned.

io.BytesIO.getvalue()

getvalue() Return bytes containing the entire contents of the buffer.