Skip to content

Commit

Permalink
Annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamsorcerer committed Jan 22, 2022
1 parent 4365bd0 commit ab43733
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aiohttp/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,7 +872,7 @@ def get(self, key: AppKey[_T], default: _S) -> Union[_T, _S]:
...

@overload
def get(self, key: AppKey[_T], default: None = None) -> Optional[_T]:
def get(self, key: AppKey[_T], default: None = ...) -> Optional[_T]:
...

@overload
Expand Down
2 changes: 1 addition & 1 deletion aiohttp/web_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def __iter__(self) -> Iterator[Union[str, AppKey[Any]]]:
return iter(self._state)

@overload # type: ignore[override]
def get(self, key: AppKey[_T], default: None = None) -> Optional[_T]:
def get(self, key: AppKey[_T], default: None = ...) -> Optional[_T]:
...

@overload
Expand Down

0 comments on commit ab43733

Please sign in to comment.