diff options
author | abodrov <abodrov@yandex-team.ru> | 2022-02-10 16:47:18 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:18 +0300 |
commit | f02a874a7290593efbe4b3aeae69a04b46c1cc86 (patch) | |
tree | 9814fbd1c3effac9b8377c5d604b367b14e2db55 /contrib/python/attrs/attr/validators.py | |
parent | 1b8c043abfc689b3d27384c4202b20031fc4ae31 (diff) | |
download | ydb-f02a874a7290593efbe4b3aeae69a04b46c1cc86.tar.gz |
Restoring authorship annotation for <abodrov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/python/attrs/attr/validators.py')
-rw-r--r-- | contrib/python/attrs/attr/validators.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/attrs/attr/validators.py b/contrib/python/attrs/attr/validators.py index 2391ee4c8f..b9a73054e9 100644 --- a/contrib/python/attrs/attr/validators.py +++ b/contrib/python/attrs/attr/validators.py @@ -67,7 +67,7 @@ def instance_of(type): return _InstanceOfValidator(type) -@attrs(repr=False, frozen=True, slots=True) +@attrs(repr=False, frozen=True, slots=True) class _MatchesReValidator(object): regex = attrib() flags = attrib() @@ -171,8 +171,8 @@ def provides(interface): performed using ``interface.providedBy(value)`` (see `zope.interface <https://zopeinterface.readthedocs.io/en/latest/>`_). - :param interface: The interface to check for. - :type interface: ``zope.interface.Interface`` + :param interface: The interface to check for. + :type interface: ``zope.interface.Interface`` :raises TypeError: With a human readable error message, the attribute (of type `attr.Attribute`), the expected interface, and the |