Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b919795 commit 6a54c67Copy full SHA for 6a54c67
1 file changed
Objects/unicodeobject.c
@@ -2171,19 +2171,6 @@ kind_maxchar_limit(unsigned int kind)
2171
}
2172
2173
2174
-static inline Py_UCS4
2175
-align_maxchar(Py_UCS4 maxchar)
2176
-{
2177
- if (maxchar <= 127)
2178
- return 127;
2179
- else if (maxchar <= 255)
2180
- return 255;
2181
- else if (maxchar <= 65535)
2182
- return 65535;
2183
- else
2184
- return MAX_UNICODE;
2185
-}
2186
-
2187
static PyObject*
2188
_PyUnicode_FromUCS1(const Py_UCS1* u, Py_ssize_t size)
2189
{
0 commit comments