Python 2.3 problem

Lee Harr missive at frontiernet.net
Sun Aug 24 18:47:42 EDT 2003


In article <51092f25c1b12d2bedc9c63d2dfa14f3 at dizum.com>, Nomen Nescio wrote:
> Hi
> 
> When I does this like hear failre goes:
> 
> def pinhtranh(*args, laoc_te):
>         phnoi_crek(args, laoc_te)
> 
> I do "laoc_te" last praemetr name always.
> 


This is not allowed.

*args and **kwargs must come after the regular arguments.

http://python.org/doc/current/tut/node6.html#SECTION006600000000000000000





More information about the Python-list mailing list