Update comments after # type: ignore to be compatible with PEP 484

This commit is contained in:
jack1142 authored and GitHub committed 2022-03-27 22:26:34 -04:00
1 parent 0bcb0d0e3c
commit 5ffa3e85de
25 files changed
+68 -68

No files matched your search

+1 -1
View File
@@ -117,7 +117,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 - This attribute is filled by the library even if using requests
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):