operator.ior()

operator.ior(a, b) operator.__ior__(a, b) a = ior(a, b) is equivalent to a |= b.

configparser.InterpolationMissingOptionError

exception configparser.InterpolationMissingOptionError Exception raised when an option referenced from a value does not exist. Subclass of InterpolationError.

set.symmetric_difference()

symmetric_difference(other) set ^ other Return a new set with elements in either the set or other but not both.

curses.window.putwin()

window.putwin(file) Write all data associated with the window into the provided file object. This information can be later retrieved using the getwin() function.

xml.sax.xmlreader.XMLReader.setProperty()

XMLReader.setProperty(propertyname, value) Set the propertyname to value. If the property is not recognized, SAXNotRecognizedException is raised. If the property or its setting is not supported by the parser, SAXNotSupportedException is raised.

memoryview.release()

release() Release the underlying buffer exposed by the memoryview object. Many objects take special actions when a view is held on them (for example, a bytearray would temporarily forbid resizing); therefore, calling release() is handy to remove these restrictions (and free any dangling resources) as soon as possible. After this method has been called, any further operation on the view raises a ValueError (except release() itself which can be called multiple times): >>> m = memoryvi

select.kqueue.close()

kqueue.close() Close the control file descriptor of the kqueue object.

collections.abc.Awaitable

class collections.abc.Awaitable ABC for awaitable objects, which can be used in await expressions. Custom implementations must provide the __await__() method. Coroutine objects and instances of the Coroutine ABC are all instances of this ABC. Note In CPython, generator-based coroutines (generators decorated with types.coroutine() or asyncio.coroutine()) are awaitables, even though they do not have an __await__() method. Using isinstance(gencoro, Awaitable) for them will return False. Use in

tracemalloc.Snapshot

class tracemalloc.Snapshot Snapshot of traces of memory blocks allocated by Python. The take_snapshot() function creates a snapshot instance. compare_to(old_snapshot: Snapshot, group_by: str, cumulative: bool=False) Compute the differences with an old snapshot. Get statistics as a sorted list of StatisticDiff instances grouped by group_by. See the Snapshot.statistics() method for group_by and cumulative parameters. The result is sorted from the biggest to the smallest by: absolute value o

collections.somenamedtuple._replace()

somenamedtuple._replace(kwargs) Return a new instance of the named tuple replacing specified fields with new values: >>> p = Point(x=11, y=22) >>> p._replace(x=33) Point(x=33, y=22) >>> for partnum, record in inventory.items(): ... inventory[partnum] = record._replace(price=newprices[partnum], timestamp=time.now())