summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/macmodule.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:46:31 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1997-05-07 15:46:31 (GMT)
commiteeccca9bdc2c7f6f6059edb9cb58698cc8ce8c5a (patch)
tree9b22bfb60e2887d640b807d75fdc588349d6222d /Mac/Modules/macmodule.c
parentd1d242ec846b99b3be95372093d10f5e3d37f9df (diff)
downloadcpython-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/macmodule.c')
-rw-r--r--Mac/Modules/macmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/macmodule.c b/Mac/Modules/macmodule.c
index 8de3c91..49c0f8b 100644
--- a/Mac/Modules/macmodule.c
+++ b/Mac/Modules/macmodule.c
@@ -567,7 +567,7 @@ mac_write(self, args)
{
int fd, size;
char *buffer;
- if (!PyArg_Parse(args, "(im#)", &fd, &buffer, &size))
+ if (!PyArg_Parse(args, "(is#)", &fd, &buffer, &size))
return NULL;
Py_BEGIN_ALLOW_THREADS
size = write(fd, buffer, size);