ReferenceError

exception ReferenceError This exception is raised when a weak reference proxy, created by the weakref.proxy() function, is used to access an attribute of the referent after it has been garbage collected. For more information on weak references, see the weakref module.

email.policy.EmailPolicy.header_source_parse()

header_source_parse(sourcelines) The implementation of this method is the same as that for the Compat32 policy.

unittest.mock.Mock.call_count

call_count An integer telling you how many times the mock object has been called: >>> mock = Mock(return_value=None) >>> mock.call_count 0 >>> mock() >>> mock() >>> mock.call_count 2

email.policy.Compat32.header_source_parse()

header_source_parse(sourcelines) The name is parsed as everything up to the ‘:‘ and returned unmodified. The value is determined by stripping leading whitespace off the remainder of the first line, joining all subsequent lines together, and stripping any trailing carriage return or linefeed characters.

queue.Queue.full()

Queue.full() Return True if the queue is full, False otherwise. If full() returns True it doesn’t guarantee that a subsequent call to get() will not block. Similarly, if full() returns False it doesn’t guarantee that a subsequent call to put() will not block.

bdb.Bdb.runeval()

runeval(expr, globals=None, locals=None) Debug an expression executed via the eval() function. globals and locals have the same meaning as in run().

html.parser.HTMLParser.handle_charref()

HTMLParser.handle_charref(name) This method is called to process decimal and hexadecimal numeric character references of the form &#NNN; and &#xNNN;. For example, the decimal equivalent for > is >, whereas the hexadecimal is >; in this case the method will receive '62' or 'x3E'. This method is never called if convert_charrefs is True.

importlib.machinery.SOURCE_SUFFIXES

importlib.machinery.SOURCE_SUFFIXES A list of strings representing the recognized file suffixes for source modules. New in version 3.3.

doctest.DocTestRunner.report_failure()

report_failure(out, test, example, got) Report that the given example failed. This method is provided to allow subclasses of DocTestRunner to customize their output; it should not be called directly. example is the example about to be processed. got is the actual output from the example. test is the test containing example. out is the output function that was passed to DocTestRunner.run().

xml.dom.NoModificationAllowedErr

exception xml.dom.NoModificationAllowedErr Raised on attempts to modify an object where modifications are not allowed (such as for read-only nodes).