mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-14 21:02:55 +08:00
Remove many redundant inheritances from Generic[] (#10933)
This commit is contained in:
1 parent
5dbdd59c9b
commit
a08d4c8d2e
30 files changed
+81
-81
No files matched your search
@@ -1,7 +1,7 @@
|
||||
from _typeshed import Incomplete, ReadableBuffer
|
||||
from collections.abc import Callable, Iterable, Iterator
|
||||
from re import Pattern
|
||||
from typing import Any, Generic, TypeVar, overload
|
||||
from typing import Any, TypeVar, overload
|
||||
from typing_extensions import Self, TypeAlias
|
||||
|
||||
from . import BeautifulSoup
|
||||
@@ -372,7 +372,7 @@ class SoupStrainer:
|
||||
searchTag = search_tag
|
||||
def search(self, markup: PageElement | Iterable[PageElement]): ...
|
||||
|
||||
class ResultSet(list[_PageElementT], Generic[_PageElementT]):
|
||||
class ResultSet(list[_PageElementT]):
|
||||
source: SoupStrainer
|
||||
@overload
|
||||
def __init__(self, source: SoupStrainer) -> None: ...
|
||||
|
||||
Reference in new issue
Block a user