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.

symtable.Function.get_frees()

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

xml.dom.pulldom.parseString()

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

fractions.Fraction.numerator

numerator Numerator of the Fraction in lowest term.

ipaddress.IPv4Network.is_loopback

is_loopback

pipes.Template.copy()

Template.copy(infile, outfile) Copy infile to outfile through the pipe.

_thread.get_ident()

_thread.get_ident() Return the ‘thread identifier’ of the current thread. This is a nonzero integer. Its value has no direct meaning; it is intended as a magic cookie to be used e.g. to index a dictionary of thread-specific data. Thread identifiers may be recycled when a thread exits and another thread is created.

datetime.time.tzname()

time.tzname() If tzinfo is None, returns None, else returns self.tzinfo.tzname(None), or raises an exception if the latter doesn’t return None or a string object.

curses.panel.Panel.show()

Panel.show() Display the panel (which might have been hidden).

xml.etree.ElementTree.Element.keys()

keys() Returns the elements attribute names as a list. The names are returned in an arbitrary order.