Fix TypeVars in beautifulsoup and SQLAlchemy (#8087)

This commit is contained in:
Alex Waygood
2022-06-16 16:34:27 +01:00
committed by GitHub
parent 43f923b6c2
commit a2ef47660a
2 changed files with 18 additions and 3 deletions
+4 -1
View File
@@ -351,4 +351,7 @@ class SoupStrainer:
class ResultSet(list[_PageElementT], Generic[_PageElementT]):
source: SoupStrainer
def __init__(self, source: SoupStrainer, result: Iterable[_PageElementT] = ...) -> None: ...
@overload
def __init__(self, source: SoupStrainer) -> None: ...
@overload
def __init__(self, source: SoupStrainer, result: Iterable[_PageElementT]) -> None: ...