From 131d1477c6081e2d04f724b471e5f2dfbc219dd1 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Fri, 14 Aug 2020 08:23:56 +0200 Subject: [PATCH] Fix doc --- src/attr/_make.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/attr/_make.py b/src/attr/_make.py index 90aee2687..1e6b4bdc8 100644 --- a/src/attr/_make.py +++ b/src/attr/_make.py @@ -1064,8 +1064,8 @@ def attrs( ``eq=True, order=True``. Deprecated in favor of *eq* and *order*, has precedence over them for backward-compatibility though. Must not be mixed with *eq* or *order*. - :param Optional[hash]: If ``None`` (default), the ``__hash__`` method is - generated according how *eq* and *frozen* are set. + :param Optional[bool] hash: If ``None`` (default), the ``__hash__`` method + is generated according how *eq* and *frozen* are set. 1. If *both* are True, ``attrs`` will generate a ``__hash__`` for you. 2. If *eq* is True and *frozen* is False, ``__hash__`` will be set to