aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/attrs/attr/exceptions.py
diff options
context:
space:
mode:
authorsmosker <smosker@yandex-team.ru>2022-02-10 16:48:21 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:21 +0300
commitdd14d17a747a9c259858faf2fcc3ea6b92df4e15 (patch)
treef332cd81782832c17c48d8c3b4511924cd9e47fd /contrib/python/attrs/attr/exceptions.py
parentb637e2fa3213638fbabe52c15dad14c8237945ac (diff)
downloadydb-dd14d17a747a9c259858faf2fcc3ea6b92df4e15.tar.gz
Restoring authorship annotation for <smosker@yandex-team.ru>. Commit 1 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 f6f9861bea..8698f42ecf 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):