diff options
author | Victor Stinner <vstinner@python.org> | 2020-01-30 08:56:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 08:56:40 (GMT) |
commit | c38fd0df2b4cbc1cc906d8dfe23f63b67cd6965f (patch) | |
tree | bf4258c96731f8c0e1fbc525abd27514308300b2 /Modules/binascii.c | |
parent | 2bf127d97bd1d60ead7c20d429b0c61ef61fc554 (diff) | |
download | cpython-c38fd0df2b4cbc1cc906d8dfe23f63b67cd6965f.zip cpython-c38fd0df2b4cbc1cc906d8dfe23f63b67cd6965f.tar.gz cpython-c38fd0df2b4cbc1cc906d8dfe23f63b67cd6965f.tar.bz2 |
bpo-39353: binascii.crc_hqx() is no longer deprecated (GH-18276)
The binascii.crc_hqx() function is no longer deprecated.
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r-- | Modules/binascii.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c index c6da3e0..e428b0d 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -965,11 +965,6 @@ static PyObject * binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc) /*[clinic end generated code: output=2fde213d0f547a98 input=56237755370a951c]*/ { - if (PyErr_WarnEx(PyExc_DeprecationWarning, - "binascii.crc_hqx() is deprecated", 1) < 0) { - return NULL; - } - const unsigned char *bin_data; Py_ssize_t len; |