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


Groups > comp.lang.python > #54541

Re: In Python language, what is (void) referring to?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.018
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.06; '21,': 0.07; 'don': 0.09; 'subject:language': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'looks': 0.24; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'subject:) ': 0.29; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; 'that.': 0.31; 'usually': 0.31; 'sep': 0.31; 'subject:what': 0.31; 'void': 0.31; 'url:python': 0.33; 'subject: (': 0.35; 'something': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'url:mail': 0.40; "you're": 0.61; '2013': 0.98
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=csKKf2ouGcPTAcAnofT1s2lGwP9ZT9cnWtSXrjSiO/8=; b=ZgZRCMErbfoIrHYInyK5Rw8ZDWjGA36QaLjppGlUS+HAK6xHritAsp+G+uHX2LTzUI Q4oe6JNVBFkPHh8qInToUb84MyJ4PzhJ3oVpYCsMUJjdW6OOqWL9b55qlz6ukBZYoBur p2ThXoIlnvk9s3hasyZKQznmXerTPoFxM4SU1qnVt8tIXKQ40qt5+H8tFVlRbTohHhbZ C4odo7dd6edALtsxmD1vXGZiL9pjJ98K/6qC0/afm7mk9cN9tdmKpK3e6/9ipXiDm2da hsPAixRyj1R2jXI25MBGqplMpXjZZHFWykjZhBgwO6nvUPama5o1yu01EdYtv3KyGDuj LuJQ==
MIME-Version 1.0
X-Received by 10.220.237.208 with SMTP id kp16mr10825632vcb.4.1379756074684; Sat, 21 Sep 2013 02:34:34 -0700 (PDT)
In-Reply-To <2e7e060c-c029-4e20-a0f4-6c7b312a8282@googlegroups.com>
References <2e7e060c-c029-4e20-a0f4-6c7b312a8282@googlegroups.com>
Date Sat, 21 Sep 2013 19:34:34 +1000
Subject Re: In Python language, what is (void) referring to?
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 <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.220.1379756077.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1379756077 news.xs4all.nl 15977 [2001:888:2000:d::a6]:41804
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:54541

Show key headers only | View raw


On Sat, Sep 21, 2013 at 7:10 PM, Don Sylvia <donsylvia95@gmail.com> wrote:
> void...........?
> --
> https://mail.python.org/mailman/listinfo/python-list

That looks like a C-style cast, though casting to void is unusual. If
you're looking at the source code to CPython, you might find something
like that. In C it usually means "I don't care about the return value
of this function".

ChrisA

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


Thread

In Python language, what is (void) referring to? Don Sylvia <donsylvia95@gmail.com> - 2013-09-21 02:10 -0700
  Re: In Python language, what is (void) referring to? Chris “Kwpolska” Warrick <kwpolska@gmail.com> - 2013-09-21 11:21 +0200
  Re: In Python language, what is (void) referring to? Chris Angelico <rosuav@gmail.com> - 2013-09-21 19:34 +1000
  Re: In Python language, what is (void) referring to? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-21 09:59 +0000

csiph-web