summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/warnings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/warnings.py b/Lib/warnings.py
index 98ae708..32e5807 100644
--- a/Lib/warnings.py
+++ b/Lib/warnings.py
@@ -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]}"