Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/warnings.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def _deprecated(name, message=_DEPRECATED_MSG, *, remove, _version=sys.version_i
the current Python version or the same version but past the alpha.

The *message* argument is formatted with *name* and *remove* as a Python
version (e.g. "3.11").
version tuple (e.g. (3, 11)).

"""
remove_formatted = f"{remove[0]}.{remove[1]}"
Expand Down