docs: fix double negative (#776)

* docs: fix double negative

(this would also be valid: "... and will create neither `__eq__` nor `__ne__`")

E.g. (from https://grammar.yourdictionary.com/grammar-rules-and-tips/double-negative-trouble.html):
> > Neither fish nor chicken weren't at the party.
>
> This sentence contains a double negative because "neither" and "weren't" are both negatives. "Neither fish nor chicken were at the party" would be fine, as would "Fish and chicken weren't at the party.

* invert polarity
This commit is contained in:
John Belmonte 2021-03-09 19:12:33 +09:00 committed by GitHub
parent ce8bb4ffa9
commit 3147e84603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1226,7 +1226,7 @@ def attrs(
inherited from some base class). inherited from some base class).
So for example by implementing ``__eq__`` on a class yourself, So for example by implementing ``__eq__`` on a class yourself,
``attrs`` will deduce ``eq=False`` and won't create *neither* ``attrs`` will deduce ``eq=False`` and will create *neither*
``__eq__`` *nor* ``__ne__`` (but Python classes come with a sensible ``__eq__`` *nor* ``__ne__`` (but Python classes come with a sensible
``__ne__`` by default, so it *should* be enough to only implement ``__ne__`` by default, so it *should* be enough to only implement
``__eq__`` in most cases). ``__eq__`` in most cases).