Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #36670

Re: async fuction

References <6bcc6374-88bb-47a0-b2c3-8082794ed158@googlegroups.com>
Date 2013-01-12 15:52 +1100
Subject Re: async fuction
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.426.1357966350.2939.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Jan 12, 2013 at 3:43 PM,  <aleksey@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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

async fuction aleksey@silk.bz - 2013-01-11 20:43 -0800
  Re: async fuction Chris Angelico <rosuav@gmail.com> - 2013-01-12 15:52 +1100
  Re: async fuction MRAB <python@mrabarnett.plus.com> - 2013-01-12 18:01 +0000

csiph-web