[Python-checkins] python/dist/src/Modules posixmodule.c,2.264,2.265

Neal Norwitz neal@metaslash.com
Fri, 11 Oct 2002 18:46:14 -0400


On Thu, Oct 10, 2002 at 07:27:33AM -0700, loewis@users.sourceforge.net wrote:
> 
> Modified Files:
> 	posixmodule.c 
> Log Message:
> Patch #569139: Implementation of major, minor and makedev.

[snip]

> ! 	if (!PyArg_ParseTuple(args, "s|iii:mknod", &filename, &mode, &device))
>   		return NULL;

Shouldn't the format string to PyArg_ParseTuple() be "s|ii:mknod"
(ie, drop one i)?

Neal