mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-23 09:18:44 +08:00
[pytz] Annotate parameter fill_iter (#14989)
This commit is contained in:
@@ -13,8 +13,8 @@ class LazyDict(DictMixin[str, _VT]):
|
||||
|
||||
class LazyList(list[_T]):
|
||||
# does not return `Self` type:
|
||||
def __new__(cls, fill_iter=None) -> LazyList[_T]: ...
|
||||
def __new__(cls, fill_iter: _T | None = None) -> LazyList[_T]: ...
|
||||
|
||||
class LazySet(set[_T]):
|
||||
# does not return `Self` type:
|
||||
def __new__(cls, fill_iter=None) -> LazySet[_T]: ...
|
||||
def __new__(cls, fill_iter: _T | None = None) -> LazySet[_T]: ...
|
||||
|
||||
Reference in New Issue
Block a user