multiprocessing.managers.SyncManager.Namespace()

Namespace() Create a shared Namespace object and return a proxy for it.

turtle.setundobuffer()

turtle.setundobuffer(size) Parameters: size – an integer or None Set or disable undobuffer. If size is an integer an empty undobuffer of given size is installed. size gives the maximum number of turtle actions that can be undone by the undo() method/function. If size is None, the undobuffer is disabled. >>> turtle.setundobuffer(42)

profile.Profile.run()

run(cmd) Profile the cmd via exec().

doctest.debug()

doctest.debug(module, name, pm=False) Debug the doctests for an object. The module and name arguments are the same as for function testsource() above. The synthesized Python script for the named object’s docstring is written to a temporary file, and then that file is run under the control of the Python debugger, pdb. A shallow copy of module.__dict__ is used for both local and global execution context. Optional argument pm controls whether post-mortem debugging is used. If pm has a true valu

sqlite3.sqlite_version_info

sqlite3.sqlite_version_info The version number of the run-time SQLite library, as a tuple of integers.

asyncio.StreamReader.set_exception()

set_exception(exc) Set the exception.

bytearray.swapcase()

bytearray.swapcase() Return a copy of the sequence with all the lowercase ASCII characters converted to their corresponding uppercase counterpart and vice-versa. For example: >>> b'Hello World'.swapcase() b'hELLO wORLD' Lowercase ASCII characters are those byte values in the sequence b'abcdefghijklmnopqrstuvwxyz'. Uppercase ASCII characters are those byte values in the sequence b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. Unlike str.swapcase(), it is always the case that bin.swapcase().swapcase(

decimal.Context.power()

power(x, y, modulo=None) Return x to the power of y, reduced modulo modulo if given. With two arguments, compute x**y. If x is negative then y must be integral. The result will be inexact unless y is integral and the result is finite and can be expressed exactly in ‘precision’ digits. The rounding mode of the context is used. Results are always correctly-rounded in the Python version. Changed in version 3.3: The C module computes power() in terms of the correctly-rounded exp() and ln() func

email.message.Message.is_multipart()

is_multipart() Return True if the message’s payload is a list of sub-Message objects, otherwise return False. When is_multipart() returns False, the payload should be a string object. (Note that is_multipart() returning True does not necessarily mean that “msg.get_content_maintype() == ‘multipart’” will return the True. For example, is_multipart will return True when the Message is of type message/rfc822.)

colorsys.hls_to_rgb()

colorsys.hls_to_rgb(h, l, s) Convert the color from HLS coordinates to RGB coordinates.