mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
bpo-39353: binascii.crc_hqx() is no longer deprecated (GH-18276)
The binascii.crc_hqx() function is no longer deprecated.
This commit is contained in:
parent
2bf127d97b
commit
c38fd0df2b
6 changed files with 3 additions and 15 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue