A backport of recent additions to the 'collections.abc' module.
Currently, patch() provides the following names if missing:
collections.abc.Generator
collections.abc.Awaitable
collections.abc.Coroutine
inspect.isawaitable(obj)
All of them are also available directly from the backports_abc module namespace.
In Python 2.x and Python 3.2, it patches the collections module instead of the collections.abc module. Any names that are already available when importing this module will not be overwritten.
The names that were previously patched by patch() can be queried through the mapping in backports_abc.PATCHED.
- Sources inherited from project openSUSE:Leap:15.2:Rings:1-MinimalX
- Links to openSUSE:Leap:15.2 / python-backports_abc
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.2:Staging:F/python-backports_abc && cd $_
- Create Badge
Refresh
Refresh
Source Files
Sources could not be expanded: openSUSE:Factory/python-backports_abc: package 'python-backports_abc' does not exist
Comments 0