diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-05-07 15:46:31 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-05-07 15:46:31 (GMT) |
commit | eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a (patch) | |
tree | 9b22bfb60e2887d640b807d75fdc588349d6222d /Mac/Modules/macosmodule.c | |
parent | d1d242ec846b99b3be95372093d10f5e3d37f9df (diff) | |
download | cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.zip cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.tar.gz cpython-eeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a.tar.bz2 |
- Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
Diffstat (limited to 'Mac/Modules/macosmodule.c')
-rw-r--r-- | Mac/Modules/macosmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c index 90be55d..3cf11a0 100644 --- a/Mac/Modules/macosmodule.c +++ b/Mac/Modules/macosmodule.c @@ -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) { |