Fix Sequence inheritance in 3.8

This commit is contained in:
Rapptz 2022-02-20 08:54:15 -05:00
parent fbb8a35de6
commit 4f85494c11

View File

@ -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]):