forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Everyone can use future annotations now. Also forward references are the most type hinting popular question on Stack Overflow, so give a little more detail. The IO example should go with standard duck types. I moved the async example to the bottom. It basically just works as you'd expect, maybe we should remove it altogether. Linking python#13681
- Loading branch information
1 parent
dfe0281
commit 3a6f230
Showing
2 changed files
with
53 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters