mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +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
|
||||
PyUnicode_WriteChar(PyObject *unicode, Py_ssize_t index, Py_UCS4 ch)
|
||||
{
|
||||
Py_UCS4 maxchar;
|
||||
if (!PyUnicode_Check(unicode) || !PyUnicode_IS_COMPACT(unicode)) {
|
||||
PyErr_BadArgument();
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue