Skip to content

Commit 80ce66d

Browse files
authored
3.19 in the warning
1 parent 7f87b05 commit 80ce66d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/test/test_hashlib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def read_vectors(hash_name):
100100

101101
DEPRECATED_STRING_PARAMETER = re.escape(
102102
"the 'string' keyword parameter is deprecated since "
103-
"Python 3.15 and slated for removal in Python 3.17; "
103+
"Python 3.15 and slated for removal in Python 3.19; "
104104
"use the 'data' keyword parameter or pass the data "
105105
"to hash as a positional argument instead"
106106
)

Modules/hashlib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ _Py_hashlib_data_argument(PyObject **res, PyObject *data, PyObject *string)
8888
// called as H(string=...)
8989
if (PyErr_WarnEx(PyExc_DeprecationWarning,
9090
"the 'string' keyword parameter is deprecated since "
91-
"Python 3.15 and slated for removal in Python 3.17; "
91+
"Python 3.15 and slated for removal in Python 3.19; "
9292
"use the 'data' keyword parameter or pass the data "
9393
"to hash as a positional argument instead", 1) < 0)
9494
{

0 commit comments

Comments
 (0)