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?

References <2e7e060c-c029-4e20-a0f4-6c7b312a8282@googlegroups.com>
Date 2013-09-21 19:34 +1000
Subject Re: In Python language, what is (void) referring to?
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.220.1379756077.18130.python-list@python.org> (permalink)

Show all headers | 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