Remove many redundant inheritances from Generic[] (#10933)

This commit is contained in:
Alex Waygood
2023-10-26 19:07:20 +01:00
committed by GitHub
parent 5dbdd59c9b
commit a08d4c8d2e
30 changed files with 81 additions and 81 deletions

View File

@@ -2,7 +2,7 @@ import datetime
from _typeshed import Incomplete, SupportsItems
from abc import ABC, abstractmethod
from re import Pattern
from typing import ClassVar, Generic, TypeVar
from typing import ClassVar, TypeVar
from typing_extensions import Literal, Self
from .encryption import StandardSecurityHandler
@@ -62,7 +62,7 @@ class PDFDate:
def __init__(self, date: datetime.datetime, with_tz: bool = False, encrypt: bool = False) -> None: ...
def serialize(self) -> str: ...
class PDFArray(list[_T], Generic[_T]):
class PDFArray(list[_T]):
def serialize(self) -> str: ...
class Destination(ABC):