mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 09:26:10 +00:00
Update comments after # type: ignore
to be compatible with PEP 484
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user