async fuction

Chris Angelico rosuav at gmail.com
Sat Jan 12 05:52:22 CET 2013


On Sat, Jan 12, 2013 at 3:43 PM,  <aleksey at silk.bz> wrote:
> def fnc1(pp):
>     print "fnc1-",pp
>
> fnc1()

Like the message says, the function has been defined to take one
argument, and you're giving it none. Try giving it an argument:

fnc1("five-minute")

ChrisA



More information about the Python-list mailing list