mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Fix Sequence inheritance in 3.8
This commit is contained in:
parent
fbb8a35de6
commit
4f85494c11
@ -25,7 +25,6 @@ from __future__ import annotations
|
||||
|
||||
import array
|
||||
import asyncio
|
||||
import collections.abc
|
||||
import inspect
|
||||
from typing import (
|
||||
Any,
|
||||
@ -190,7 +189,7 @@ def cached_slot_property(name: str) -> Callable[[Callable[[T], T_co]], CachedSlo
|
||||
return decorator
|
||||
|
||||
|
||||
class SequenceProxy(collections.abc.Sequence[T_co]):
|
||||
class SequenceProxy(Sequence[T_co]):
|
||||
"""Read-only proxy of a Sequence."""
|
||||
|
||||
def __init__(self, proxied: Sequence[T_co]):
|
||||
|
Loading…
x
Reference in New Issue
Block a user