Single and double asterisks preceding variables in function arguments
Eric Amick
eric-amick at comcast.net
Mon Jan 26 20:15:22 EST 2004
On Mon, 26 Jan 2004 09:51:02 -0600, Stephen Boulet
<stephendotboulet at motorola_._com> wrote:
>I've run across code like "myfunction(x, *someargs, **someotherargs)",
>but haven't seen documentation for this.
>
>Can someone fill me in on what the leading * and ** do? Thanks.
Try section 4.7.2 of the tutorial.
--
Eric Amick
Columbia, MD
More information about the Python-list
mailing list