mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-31979: Remove unused align_maxchar() function (#4527)
This commit is contained in:
parent
b9197959c1
commit
6a54c676e6
1 changed files with 0 additions and 13 deletions
|
@ -2171,19 +2171,6 @@ kind_maxchar_limit(unsigned int kind)
|
|||
}
|
||||
}
|
||||
|
||||
static inline Py_UCS4
|
||||
align_maxchar(Py_UCS4 maxchar)
|
||||
{
|
||||
if (maxchar <= 127)
|
||||
return 127;
|
||||
else if (maxchar <= 255)
|
||||
return 255;
|
||||
else if (maxchar <= 65535)
|
||||
return 65535;
|
||||
else
|
||||
return MAX_UNICODE;
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
_PyUnicode_FromUCS1(const Py_UCS1* u, Py_ssize_t size)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue