John Machin <[EMAIL PROTECTED]> wrote:
...
> > If it is any consolation I hope to take what I learn and put together
> > a tutorial on expanding Python for those that only have a little
> > experience with C programming, like myself. I plan to explain
> > everything like I was teaching a 6-year
On 13/06/2006 3:11 PM, John Machin wrote:
> def bfunction(foo=0, bar="plugh", zot=None):
> # keyword args, caller can do:
> bfunction(zot=10**100) # using a keyword: args foo & bar get default values
> bfunction(10, "xyzzy") # positional: foo = 10; bar = "xyzzy"; zot = 10**100
The last line above
On 13/06/2006 1:45 PM, Redefined Horizons wrote:
> I'm trying to understand the argument flags that are used in the
> method table of an extension module written in C.
>
> First let me ask this question about the method table. Is it an C
> array named "PyMethodDef"?
Its *type* is PyMethodDef (the