importlib.machinery.ExtensionFileLoader.get_code()

get_code(fullname) Returns None as extension modules lack a code object.

sys._clear_type_cache()

sys._clear_type_cache() Clear the internal type cache. The type cache is used to speed up attribute and method lookups. Use the function only to drop unnecessary references during reference leak debugging. This function should be used for internal and specialized purposes only.

ossaudiodev.oss_audio_device.sync()

oss_audio_device.sync() Wait until the sound device has played every byte in its buffer. (This happens implicitly when the device is closed.) The OSS documentation recommends closing and re-opening the device rather than using sync().

asyncio.Lock.locked()

locked() Return True if the lock is acquired.

unittest.mock.Mock.assert_called_once_with()

assert_called_once_with(*args, **kwargs) Assert that the mock was called exactly once and with the specified arguments. >>> mock = Mock(return_value=None) >>> mock('foo', bar='baz') >>> mock.assert_called_once_with('foo', bar='baz') >>> mock('foo', bar='baz') >>> mock.assert_called_once_with('foo', bar='baz') Traceback (most recent call last): ... AssertionError: Expected 'mock' to be called once. Called 2 times.

turtle.clone()

turtle.clone() Create and return a clone of the turtle with same position, heading and turtle properties. >>> mick = Turtle() >>> joe = mick.clone()

cmath.isnan()

cmath.isnan(x) Return True if either the real or the imaginary part of x is a NaN, and False otherwise.

codecs.getincrementaldecoder()

codecs.getincrementaldecoder(encoding) Look up the codec for the given encoding and return its incremental decoder class or factory function. Raises a LookupError in case the encoding cannot be found or the codec doesn’t support an incremental decoder.

ctypes.BigEndianStructure

class ctypes.BigEndianStructure(*args, **kw) Abstract base class for structures in big endian byte order.

pathlib.PurePath.suffixes

PurePath.suffixes A list of the path’s file extensions: >>> PurePosixPath('my/library.tar.gar').suffixes ['.tar', '.gar'] >>> PurePosixPath('my/library.tar.gz').suffixes ['.tar', '.gz'] >>> PurePosixPath('my/library').suffixes []