diff options
author | zubchick <zubchick@yandex-team.ru> | 2022-02-10 16:48:22 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:22 +0300 |
commit | 1d17d1551eecd4d143ecf2fb6fb05a9d71ccd6f5 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /contrib/python/attrs/attr/exceptions.pyi | |
parent | dd8b8ab59eaee9938ca16f368506d69ef2509b74 (diff) | |
download | ydb-1d17d1551eecd4d143ecf2fb6fb05a9d71ccd6f5.tar.gz |
Restoring authorship annotation for <zubchick@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/attrs/attr/exceptions.pyi')
-rw-r--r-- | contrib/python/attrs/attr/exceptions.pyi | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/contrib/python/attrs/attr/exceptions.pyi b/contrib/python/attrs/attr/exceptions.pyi index 1aaa057f8b..a800fb26bb 100644 --- a/contrib/python/attrs/attr/exceptions.pyi +++ b/contrib/python/attrs/attr/exceptions.pyi @@ -1,18 +1,18 @@ -from typing import Any - +from typing import Any + class FrozenError(AttributeError): - msg: str = ... - + msg: str = ... + class FrozenInstanceError(FrozenError): ... class FrozenAttributeError(FrozenError): ... -class AttrsAttributeNotFoundError(ValueError): ... -class NotAnAttrsClassError(ValueError): ... -class DefaultAlreadySetError(RuntimeError): ... -class UnannotatedAttributeError(RuntimeError): ... -class PythonTooOldError(RuntimeError): ... - -class NotCallableError(TypeError): - msg: str = ... - value: Any = ... - def __init__(self, msg: str, value: Any) -> None: ... +class AttrsAttributeNotFoundError(ValueError): ... +class NotAnAttrsClassError(ValueError): ... +class DefaultAlreadySetError(RuntimeError): ... +class UnannotatedAttributeError(RuntimeError): ... +class PythonTooOldError(RuntimeError): ... + +class NotCallableError(TypeError): + msg: str = ... + value: Any = ... + def __init__(self, msg: str, value: Any) -> None: ... |