mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Oops, remove an abort() I put in for debugging.
This commit is contained in:
parent
04c70ad971
commit
b3cf6fd58e
1 changed files with 0 additions and 1 deletions
|
@ -8107,7 +8107,6 @@ unicode_buffer_getbuffer(PyUnicodeObject *self, PyBuffer *view, int flags)
|
||||||
|
|
||||||
if (flags & PyBUF_CHARACTER) {
|
if (flags & PyBUF_CHARACTER) {
|
||||||
PyErr_SetString(PyExc_SystemError, "can't use str as char buffer");
|
PyErr_SetString(PyExc_SystemError, "can't use str as char buffer");
|
||||||
abort();
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return PyBuffer_FillInfo(view, (void *)self->str,
|
return PyBuffer_FillInfo(view, (void *)self->str,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue