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 | dd8b8ab59eaee9938ca16f368506d69ef2509b74 (patch) | |
tree | 5c9577458a79ca3e1acff2fd150ca398031a66e7 /contrib/python/attrs/attr/_funcs.py | |
parent | 01fa2667d0e5e868b18424bc1906146e5ee340db (diff) | |
download | ydb-dd8b8ab59eaee9938ca16f368506d69ef2509b74.tar.gz |
Restoring authorship annotation for <zubchick@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/python/attrs/attr/_funcs.py')
-rw-r--r-- | contrib/python/attrs/attr/_funcs.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/python/attrs/attr/_funcs.py b/contrib/python/attrs/attr/_funcs.py index fda508c5c4..51c4a2e638 100644 --- a/contrib/python/attrs/attr/_funcs.py +++ b/contrib/python/attrs/attr/_funcs.py @@ -25,7 +25,7 @@ def asdict( ``attrs``-decorated. :param callable filter: A callable whose return code determines whether an attribute or element is included (``True``) or dropped (``False``). Is - called with the `attr.Attribute` as the first argument and the + called with the `attr.Attribute` as the first argument and the value as the second argument. :param callable dict_factory: A callable to produce dictionaries from. For example, to produce ordered dictionaries instead of normal Python @@ -181,7 +181,7 @@ def astuple( ``attrs``-decorated. :param callable filter: A callable whose return code determines whether an attribute or element is included (``True``) or dropped (``False``). Is - called with the `attr.Attribute` as the first argument and the + called with the `attr.Attribute` as the first argument and the value as the second argument. :param callable tuple_factory: A callable to produce tuples from. For example, to produce lists instead of tuples. @@ -271,7 +271,7 @@ def has(cls): :param type cls: Class to introspect. :raise TypeError: If *cls* is not a class. - :rtype: bool + :rtype: bool """ return getattr(cls, "__attrs_attrs__", None) is not None @@ -291,7 +291,7 @@ def assoc(inst, **changes): class. .. deprecated:: 17.1.0 - Use `evolve` instead. + Use `evolve` instead. """ import warnings |