threading.Barrier.abort()

abort() Put the barrier into a broken state. This causes any active or future calls to wait() to fail with the BrokenBarrierError. Use this for example if one of the needs to abort, to avoid deadlocking the application. It may be preferable to simply create the barrier with a sensible timeout value to automatically guard against one of the threads going awry.

decimal.Context.logical_invert()

logical_invert(x) Invert all the digits in x.

xml.etree.ElementTree.TreeBuilder.data()

data(data) Adds text to the current element. data is a string. This should be either a bytestring, or a Unicode string.

io.BufferedIOBase.read1()

read1(size=-1) Read and return up to size bytes, with at most one call to the underlying raw stream’s read() (or readinto()) method. This can be useful if you are implementing your own buffering on top of a BufferedIOBase object.

unittest.TestCase.assertDictEqual()

assertDictEqual(first, second, msg=None) Test that two dictionaries are equal. If not, an error message is constructed that shows the differences in the dictionaries. This method will be used by default to compare dictionaries in calls to assertEqual(). New in version 3.1.

operator.__imul__()

operator.__imul__(a, b) a = imul(a, b) is equivalent to a *= b.

http.cookiejar.DefaultCookiePolicy.is_not_allowed()

DefaultCookiePolicy.is_not_allowed(domain) Return whether domain is not on the whitelist for setting or receiving cookies.

multiprocessing.Connection.poll()

poll([timeout]) Return whether there is any data available to be read. If timeout is not specified then it will return immediately. If timeout is a number then this specifies the maximum time in seconds to block. If timeout is None then an infinite timeout is used. Note that multiple connection objects may be polled at once by using multiprocessing.connection.wait().

unittest.TestLoader.errors

errors A list of the non-fatal errors encountered while loading tests. Not reset by the loader at any point. Fatal errors are signalled by the relevant a method raising an exception to the caller. Non-fatal errors are also indicated by a synthetic test that will raise the original error when run. New in version 3.5.

os.path.isfile()

os.path.isfile(path) Return True if path is an existing regular file. This follows symbolic links, so both islink() and isfile() can be true for the same path.