deque vs list: performance notes

Darrell Gallion darrell at dorb.com
Sun Jun 4 19:07:26 EDT 2000


// formatFlag is optional and defaults to 0
 int formatFlag=0;
 if (PyArg_ParseTuple(args,"s#|i",&bufStr, &bufSz, &formatFlag)==0)return
NULL;


--Darrell Gallion

From: "Courageous" <jkraska1 at san.rr.com>
> BTW, I was trying to figure out how to pass 'optional' args
> to external C functions and couldn't grok it. Anyone know how?
> (I wanted pqueue and dlist to default to 10 or something if no
> n was offered).






More information about the Python-list mailing list