mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
Remove stubs for characteristic (#8040)
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
version = "14.3.*"
|
||||
no_longer_updated = true
|
||||
@@ -1,38 +0,0 @@
|
||||
from collections.abc import Callable, Sequence
|
||||
from typing import Any, AnyStr, TypeVar
|
||||
|
||||
def with_repr(attrs: Sequence[AnyStr | Attribute]) -> Callable[..., Any]: ...
|
||||
def with_cmp(attrs: Sequence[AnyStr | Attribute]) -> Callable[..., Any]: ...
|
||||
def with_init(attrs: Sequence[AnyStr | Attribute]) -> Callable[..., Any]: ...
|
||||
def immutable(attrs: Sequence[AnyStr | Attribute]) -> Callable[..., Any]: ...
|
||||
def strip_leading_underscores(attribute_name: AnyStr) -> AnyStr: ...
|
||||
|
||||
class _Nothing: ...
|
||||
|
||||
NOTHING: _Nothing
|
||||
|
||||
_T = TypeVar("_T")
|
||||
|
||||
def attributes(
|
||||
attrs: Sequence[AnyStr | Attribute],
|
||||
apply_with_cmp: bool = ...,
|
||||
apply_with_init: bool = ...,
|
||||
apply_with_repr: bool = ...,
|
||||
apply_immutable: bool = ...,
|
||||
store_attributes: Callable[[type, Attribute], Any] | None = ...,
|
||||
**kw: dict[Any, Any] | None,
|
||||
) -> Callable[[type[_T]], type[_T]]: ...
|
||||
|
||||
class Attribute:
|
||||
def __init__(
|
||||
self,
|
||||
name: AnyStr,
|
||||
exclude_from_cmp: bool = ...,
|
||||
exclude_from_init: bool = ...,
|
||||
exclude_from_repr: bool = ...,
|
||||
exclude_from_immutable: bool = ...,
|
||||
default_value: Any = ...,
|
||||
default_factory: Callable[[None], Any] | None = ...,
|
||||
instance_of: Any | None = ...,
|
||||
init_aliaser: Callable[[AnyStr], AnyStr] | None = ...,
|
||||
) -> None: ...
|
||||
Reference in New Issue
Block a user