On 10/09/2013 07:50 PM, Eli Bendersky wrote:
I'm not sure what you call "parsing". This?

>>> def myfoo(*args): a, b = args; print("%s, then %s" % (a, b))

From the Argument Clinic PEP (436):

   The primary implementation of Python, "CPython", is written in a
   mixture of Python and C. One implementation detail of CPython is
   what are called "built-in" functions -- functions available to
   Python programs but written in C. When a Python program calls a
   built-in function and passes in arguments, those arguments must be
   translated from Python values into C values. This process is called
   "parsing arguments".


I should probably amend that, because deciding how to map arguments to parameters is also part of "parsing arguments".


//arry/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to