xml.dom.pulldom.parseString()

xml.dom.pulldom.parseString(string, parser=None) Return a DOMEventStream that represents the (Unicode) string.

symtable.Function.get_frees()

get_frees() Return a tuple containing names of free variables in this function.

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

types.FunctionType

types.FunctionType types.LambdaType The type of user-defined functions and functions created by lambda expressions.

ctypes.c_ssize_t

class ctypes.c_ssize_t Represents the C ssize_t datatype. New in version 3.2.

pdb.pm()

pdb.pm() Enter post-mortem debugging of the traceback found in sys.last_traceback.

os.set_inheritable()

os.set_inheritable(fd, inheritable) Set the “inheritable” flag of the specified file descriptor.

urllib.request.Request.get_method()

Request.get_method() Return a string indicating the HTTP request method. If Request.method is not None, return its value, otherwise return 'GET' if Request.data is None, or 'POST' if it’s not. This is only meaningful for HTTP requests. Changed in version 3.3: get_method now looks at the value of Request.method.

ctypes.LibraryLoader

class ctypes.LibraryLoader(dlltype) Class which loads shared libraries. dlltype should be one of the CDLL, PyDLL, WinDLL, or OleDLL types. __getattr__() has special behavior: It allows loading a shared library by accessing it as attribute of a library loader instance. The result is cached, so repeated attribute accesses return the same library each time. LoadLibrary(name) Load a shared library into the process and return it. This method always returns a new instance of the library.