[omaha] Tutorial: Keyword Arguments

Jay Hannah jay at jays.net
Sat Dec 1 20:56:11 CET 2007


On Dec 1, 2007, at 10:38 AM, Jeff Hinrichs - DM&T wrote:
> because the language rules allow things like this:
>
> def parrot(	voltage,
> 		state='a stiff',
> 		action='voom',
> 		type='NorwegianBlue'):

Ahh... parameter indention. Gotcha. Ya, that colon might be important  
then. I'm not used to any mandatory rules regarding indention.  :)

Thanks,

j



More information about the Omaha mailing list