mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Implement PEP 393.
This commit is contained in:
parent
48d49497c5
commit
d63a3b8beb
102 changed files with 8153 additions and 5431 deletions
|
@ -128,7 +128,7 @@ get_nullchar_as_None(Py_UNICODE c)
|
|||
return Py_None;
|
||||
}
|
||||
else
|
||||
return PyUnicode_FromUnicode((Py_UNICODE *)&c, 1);
|
||||
return PyUnicode_FromOrdinal(c);
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue