unittest.mock.NonCallableMock

class unittest.mock.NonCallableMock(spec=None, wraps=None, name=None, spec_set=None, **kwargs) A non-callable version of Mock. The constructor parameters have the same meaning of Mock, with the exception of return_value and side_effect which have no meaning on a non-callable mock.

importlib.abc.Loader

class importlib.abc.Loader An abstract base class for a loader. See PEP 302 for the exact definition for a loader. create_module(spec) A method that returns the module object to use when importing a module. This method may return None, indicating that default module creation semantics should take place. New in version 3.4. Changed in version 3.5: Starting in Python 3.6, this method will not be optional when exec_module() is defined. exec_module(module) An abstract method that ex

cmath.sinh()

cmath.sinh(x) Return the hyperbolic sine of x.

ctypes.Structure._pack_

_pack_ An optional small integer that allows overriding the alignment of structure fields in the instance. _pack_ must already be defined when _fields_ is assigned, otherwise it will have no effect.

UserWarning

exception UserWarning Base class for warnings generated by user code.

xml.sax.handler.ContentHandler.ignorableWhitespace()

ContentHandler.ignorableWhitespace(whitespace) Receive notification of ignorable whitespace in element content. Validating Parsers must use this method to report each chunk of ignorable whitespace (see the W3C XML 1.0 recommendation, section 2.10): non-validating parsers may also use this method if they are capable of parsing and using content models. SAX parsers may return all contiguous whitespace in a single chunk, or they may split it into several chunks; however, all of the characters i

urllib.request.FTPHandler

class urllib.request.FTPHandler Open FTP URLs.

spwd.getspall()

spwd.getspall() Return a list of all available shadow password database entries, in arbitrary order.

asyncio.asyncio.subprocess.Process.terminate()

terminate() Stop the child. On Posix OSs the method sends signal.SIGTERM to the child. On Windows the Win32 API function TerminateProcess() is called to stop the child.

ctypes.byref()

ctypes.byref(obj[, offset]) Returns a light-weight pointer to obj, which must be an instance of a ctypes type. offset defaults to zero, and must be an integer that will be added to the internal pointer value. byref(obj, offset) corresponds to this C code: (((char *)&obj) + offset) The returned object can only be used as a foreign function call parameter. It behaves similar to pointer(obj), but the construction is a lot faster.