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 SUSE:SLE-15:GA
-
Checkout Package
osc checkout SUSE:SLE-15-SP4:GA/python-backports_abc && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
backports_abc-0.5.tar.gz | 0000009807 9.58 KB | |
python-backports_abc.changes | 0000000407 407 Bytes | |
python-backports_abc.spec | 0000002133 2.08 KB |
Latest Revision
Samu Voutilainen (Smar)
committed
(revision 3)
osc copypac from project:openSUSE.org:SUSE:SLE-15:GA package:python-backports_abc revision:1
Comments 0