aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/attrs/attr/exceptions.py
diff options
context:
space:
mode:
authorsmosker <smosker@yandex-team.ru>2022-02-10 16:48:22 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:22 +0300
commit01fa2667d0e5e868b18424bc1906146e5ee340db (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /contrib/python/attrs/attr/exceptions.py
parentdd14d17a747a9c259858faf2fcc3ea6b92df4e15 (diff)
downloadydb-01fa2667d0e5e868b18424bc1906146e5ee340db.tar.gz
Restoring authorship annotation for <smosker@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/attrs/attr/exceptions.py')
-rw-r--r--contrib/python/attrs/attr/exceptions.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/python/attrs/attr/exceptions.py b/contrib/python/attrs/attr/exceptions.py
index 8698f42ecf8..f6f9861bea9 100644
--- a/contrib/python/attrs/attr/exceptions.py
+++ b/contrib/python/attrs/attr/exceptions.py
@@ -11,7 +11,7 @@ class FrozenError(AttributeError):
.. versionadded:: 20.1.0
"""
-
+
msg = "can't set attribute"
args = [msg]
@@ -64,15 +64,15 @@ class UnannotatedAttributeError(RuntimeError):
.. versionadded:: 17.3.0
"""
-
-
-class PythonTooOldError(RuntimeError):
- """
+
+
+class PythonTooOldError(RuntimeError):
+ """
It was attempted to use an ``attrs`` feature that requires a newer Python
version.
-
- .. versionadded:: 18.2.0
- """
+
+ .. versionadded:: 18.2.0
+ """
class NotCallableError(TypeError):