mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
- Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
This commit is contained in:
parent
d1d242ec84
commit
eeccca9bdc
5 changed files with 7 additions and 7 deletions
|
@ -117,7 +117,7 @@ rf_write(self, args)
|
|||
PyErr_SetString(PyExc_ValueError, "Operation on closed file");
|
||||
return NULL;
|
||||
}
|
||||
if (!PyArg_ParseTuple(args, "m#", &buffer, &size))
|
||||
if (!PyArg_ParseTuple(args, "s#", &buffer, &size))
|
||||
return NULL;
|
||||
err = FSWrite(self->fRefNum, &size, buffer);
|
||||
if (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue