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


Groups > comp.lang.python > #36670

Re: async fuction

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!us.feeder.erje.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'argument,': 0.09; 'argument:': 0.09; 'none.': 0.09; 'received:mail- vc0-f174.google.com': 0.09; 'def': 0.10; 'sat,': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'defined': 0.22; 'header:In-Reply- To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'received:209.85.220.174': 0.29; 'function': 0.30; 'print': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'received:209.85': 0.35; '12,': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; '2013': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=8ZIrlBPqhELnOrcbipt8u1jNDHiqNt7TiaMFHIF1928=; b=yGuywOpJYIl6ce1cKPi/xiMGFkw/mb7rX5Wh1K2mnaXbc0E2Vo1x2Hixem+EYJGvIz kPsUufuEl5kYr61BRGRZQKgm424xHZ8tEBuOGjgCrjOx9QjipEr6kcZCVUwrHqAhnNWy uIOKql5XtLskqlFdyP6dGoetuTmotDQqjM67grdu55WbN44jKRCY0naEyQpDweytzjRX 1NIRkaUjjT67wk251YGIMjtqNjjtMIoRxLtuOXxraF4BMI5lI2V+YWsNpzABjl0B+4lv 6PvkUlD9iXltC3E7TLmArLZi5R5XLxeWYa04HmzsQiekdCMxmT1abmGAzz7REyKrWGNq JPgg==
MIME-Version 1.0
In-Reply-To <6bcc6374-88bb-47a0-b2c3-8082794ed158@googlegroups.com>
References <6bcc6374-88bb-47a0-b2c3-8082794ed158@googlegroups.com>
Date Sat, 12 Jan 2013 15:52:22 +1100
Subject Re: async fuction
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.426.1357966350.2939.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1357966350 news.xs4all.nl 6943 [2001:888:2000:d::a6]:56213
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:36670

Show key headers only | 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