aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/attrs/attr/exceptions.pyi
diff options
context:
space:
mode:
authorzubchick <zubchick@yandex-team.ru>2022-02-10 16:48:22 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:22 +0300
commit1d17d1551eecd4d143ecf2fb6fb05a9d71ccd6f5 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /contrib/python/attrs/attr/exceptions.pyi
parentdd8b8ab59eaee9938ca16f368506d69ef2509b74 (diff)
downloadydb-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.pyi28
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: ...