Re: [Zope-dev] Arbitrary Arguments?

2004-06-06 Thread Stefan H. Holek
ZPublisher can only fill in arguments it knows about, i.e. that are mentioned in the script's signature. Stefan On Sonntag, Jun 6, 2004, at 01:16 Europe/Vienna, Marshall Powers wrote: So what is the deal? -- The time has come to start talking about whether the emperor is as well dressed as we

Re: [Zope-dev] Arbitrary Arguments?

2004-06-06 Thread Marshall Powers
In Python, you can declare a function to accept an arbitrary number of arguments by adding an argument that starts with * or **. A *-prefixed argument gets a tuple of the non-keyworded arguments that follow the declared arguments, a **-prefixed arguments gets a dictionary of keyword:value

[Zope-dev] Re: Arbitrary Arguments?

2004-06-06 Thread Tres Seaver
Marshall Powers wrote: In Python, you can declare a function to accept an arbitrary number of arguments by adding an argument that starts with * or **. A *-prefixed argument gets a tuple of the non-keyworded arguments that follow the declared arguments, a **-prefixed arguments gets a dictionary