mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Update attr stubs to 19.1.0 (#2846)
This commit is contained in:
committed by
Sebastian Rittau
parent
ef5fc92b98
commit
bf370b5908
3
third_party/2and3/attr/__init__.pyi
vendored
3
third_party/2and3/attr/__init__.pyi
vendored
@@ -167,6 +167,7 @@ def attrs(
|
||||
auto_attribs: bool = ...,
|
||||
kw_only: bool = ...,
|
||||
cache_hash: bool = ...,
|
||||
auto_exc: bool = ...,
|
||||
) -> _C: ...
|
||||
@overload
|
||||
def attrs(
|
||||
@@ -184,6 +185,7 @@ def attrs(
|
||||
auto_attribs: bool = ...,
|
||||
kw_only: bool = ...,
|
||||
cache_hash: bool = ...,
|
||||
auto_exc: bool = ...,
|
||||
) -> Callable[[_C], _C]: ...
|
||||
|
||||
# TODO: add support for returning NamedTuple from the mypy plugin
|
||||
@@ -212,6 +214,7 @@ def make_class(
|
||||
auto_attribs: bool = ...,
|
||||
kw_only: bool = ...,
|
||||
cache_hash: bool = ...,
|
||||
auto_exc: bool = ...,
|
||||
) -> type: ...
|
||||
|
||||
# _funcs --
|
||||
|
||||
Reference in New Issue
Block a user