mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix typo in exception message
This commit is contained in:
parent
0c2c17c473
commit
20e72130c4
1 changed files with 1 additions and 1 deletions
|
@ -5132,7 +5132,7 @@ unicode_buffer_getwritebuf(PyUnicodeObject *self, int index,
|
|||
const void **ptr)
|
||||
{
|
||||
PyErr_SetString(PyExc_TypeError,
|
||||
"cannot use unicode as modifyable buffer");
|
||||
"cannot use unicode as modifiable buffer");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue