8000 Additional type information for asyncio by dsp · Pull Request #81 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Additional type information for asyncio #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Feb 20, 2016
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use relative imports in asyncio.tasks and asyncio.futures
  • Loading branch information
David Soria Parra committed Feb 20, 2016
commit 70ddf02d217c9588857ff9dc5d0efce03f611de1
2 changes: 1 addition & 1 deletion stdlib/3.4/asyncio/futures.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from typing import Any, Union, Callable, TypeVar, List, Generic, Iterable, Generator
from asyncio.events import AbstractEventLoop
from .events import AbstractEventLoop
# __all__ = ['CancelledError', 'TimeoutError',
# 'InvalidStateError',
# 'wrap_future',
Expand Down
9 changes: 3 additions & 6 deletions stdlib/3.4/asyncio/tasks.pyi
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
from typing import Any, Iterable, TypeVar, Set, Dict, List, TextIO, Union, Tuple, Generic, Callable, Generator
from asyncio.events import AbstractEventLoop
from asyncio.futures import Future
# __all__ = ['iscoroutinefunction', 'iscoroutine',
# 'as_completed', 'async',
# 'gather', 'shield',
# ]

__all__ = ['Task', 'sleep',
'FIRST_COMPLETED', 'FIRST_EXCEPTION', 'ALL_COMPLETED',
'wait', 'wait_for']

from .events import AbstractEventLoop
from .futures import Future

FIRST_EXCEPTION = 'FIRST_EXCEPTION'
FIRST_COMPLETED = 'FIRST_COMPLETED'
ALL_COMPLETED = 'ALL_COMPLETED'
Expand Down
0