mirror of
https://github.com/python/cpython.git
synced 2025-08-16 23:01:34 +00:00
Remove an unused variable
This commit is contained in:
parent
b1f7f6343b
commit
0d03478b88
1 changed files with 0 additions and 1 deletions
|
@ -3935,7 +3935,6 @@ PyUnicode_ReadChar(PyObject *unicode, Py_ssize_t index)
|
||||||
int
|
int
|
||||||
PyUnicode_WriteChar(PyObject *unicode, Py_ssize_t index, Py_UCS4 ch)
|
PyUnicode_WriteChar(PyObject *unicode, Py_ssize_t index, Py_UCS4 ch)
|
||||||
{
|
{
|
||||||
Py_UCS4 maxchar;
|
|
||||||
if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) {
|
if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) {
|
||||||
PyErr_BadArgument();
|
PyErr_BadArgument();
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue