Skip to content

Commit

Permalink
doc: invert sentence on setattr logic in NG
Browse files Browse the repository at this point in the history
Even I missed it.
  • Loading branch information
hynek committed Oct 9, 2023
1 parent 67e4ff2 commit 5f1d588
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
args: [tests]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
Expand Down
4 changes: 2 additions & 2 deletions src/attr/_next_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ def define(
- Automatically detect whether or not *auto_attribs* should be `True` (c.f.
*auto_attribs* parameter).
- If *frozen* is `False`, run converters and validators when setting an
attribute by default.
- Converters and validators run when attributes are set by default -- if
*frozen* is `False`.
- *slots=True*
.. caution::
Expand Down

0 comments on commit 5f1d588

Please sign in to comment.