A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-May/015063.html below:

[Python-Dev] Special-casing "O"

[Python-Dev] Special-casing "O" [Python-Dev] Special-casing "O"Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Mon, 28 May 2001 08:36:49 +0200
> How is METH_O different than METH_OLDARGS? 

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

I believe you cannot distinguish between a single tuple argument and
an invocation with multiple arguments in a METH_OLDARGS function, is
that true?

Regards,
Martin




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4