[Python-Dev] Special-casing "O"

Jeremy Hylton jeremy@digicool.com
Mon, 28 May 2001 12:45:27 -0400 (EDT)


>>>>> "MvL" == Martin v Loewis <martin@loewis.home.cs.tu-berlin.de> writes:

  >> How is METH_O different than METH_OLDARGS?

  MvL> METH_O will raise an exception if the function is called with
  MvL> more than one argument, without calling the
  MvL> function. METH_OLDARGS will pass a tuple in this case.

Yes, I see that now.  I'm +1 on METH_O, then.

Jeremy