Skip to content

Commit

Permalink
chore: add a versionadded docs directive
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Sep 6, 2024
1 parent 0d5c419 commit ea69b18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions falcon/media/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def copy(self) -> Handlers:
Returns:
A shallow copy of handlers.
.. versionadded:: 4.0
"""
# NOTE(vytas): In the unlikely case we are dealing with a subclass,
# return the matching type.
Expand Down

0 comments on commit ea69b18

Please sign in to comment.