]> granicus.if.org Git - python/commitdiff
asyncio: Add 'shield' to __all__.
authorGuido van Rossum <guido@python.org>
Fri, 29 Nov 2013 17:29:00 +0000 (09:29 -0800)
committerGuido van Rossum <guido@python.org>
Fri, 29 Nov 2013 17:29:00 +0000 (09:29 -0800)
Lib/asyncio/tasks.py

index 2a21a4b9deba3d94a257ff054160be200d9a54c0..999e9629bc692c172440296f0744e778b47fe0b9 100644 (file)
@@ -3,7 +3,7 @@
 __all__ = ['coroutine', 'Task',
            'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED',
            'wait', 'wait_for', 'as_completed', 'sleep', 'async',
-           'gather',
+           'gather', 'shield',
            ]
 
 import collections