Skip to content

Commit

Permalink
Add versionadded to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
RNKuhns committed Apr 11, 2024
1 parent c8081ec commit 83782d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/attr/_make.py
Expand Up @@ -1611,6 +1611,10 @@ def attrs(
.. versionadded:: 22.2.0
*unsafe_hash* as an alias for *hash* (for :pep:`681` compliance).
.. deprecated:: 24.1.0 *repr_ns*
.. versionadded:: 24.1
*only_non_default_attr_in_repr* added to allow users to choose to have their
classes dynamically include only those parameters whose values are set to
non-default values in the repr.
"""
if repr_ns is not None:
import warnings
Expand Down

0 comments on commit 83782d1

Please sign in to comment.