8000 Add __annotations__ to Python 3 by ilevkivskyi · Pull Request #990 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Add __annotations__ to Python 3 #990

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 2 commits into from
Mar 13, 2017
Merged
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
Fix lint
  • Loading branch information
Ivan Levkivskyi committed Mar 13, 2017
commit c14c1582bf14314a352eb3f91ccb133f79b6e31d
4 changes: 2 additions & 2 deletions stdlib/3/builtins.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class object:
__slots__ = ... # type: Optional[Union[str, Iterable[str]]]
__module__ = ... # type: str
if sys.version_info >= (3, 6):
__annotations__ = ... # type: Dict[str, Any]
__annotations__ = ... # type: Dict[str, Any]

def __init__(self) -> None: ...
def __new__(cls) -> Any: ...
Expand Down Expand Up @@ -554,7 +554,7 @@ class function:
__qualname__ = ... # type: str
__module__ = ... # type: str
__code__ = ... # type: Any
__annotations__ = ... # type: Dict[str, Any]
__annotations__ = ... # type: Dict[str, Any]

class list(MutableSequence[_T], Generic[_T]):
@overload
Expand Down
0