Document more uses of type ignore

This commit is contained in:
Rapptz committed 2022-02-21 23:08:26 -05:00
1 parent 51b79411e3
commit d01e73fca5
6 files changed
+37 -22

No files matched your search

+1 -1
View File
@@ -125,7 +125,7 @@ class HTTPException(DiscordException):
def __init__(self, response: _ResponseType, message: Optional[Union[str, Dict[str, Any]]]):
self.response: _ResponseType = response
self.status: int = response.status # type: ignore
self.status: int = response.status # type: ignore - This attribute is filled by the library even if using requests
self.code: int
self.text: str
if isinstance(message, dict):