mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 09:26:10 +00:00
Update pyright version
This commit is contained in:
@ -721,7 +721,7 @@ async def sane_wait_for(futures: Iterable[Awaitable[T]], *, timeout: Optional[fl
|
||||
def get_slots(cls: Type[Any]) -> Iterator[str]:
|
||||
for mro in reversed(cls.__mro__):
|
||||
try:
|
||||
yield from mro.__slots__ # type: ignore
|
||||
yield from mro.__slots__
|
||||
except AttributeError:
|
||||
continue
|
||||
|
||||
|
Reference in New Issue
Block a user