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

2013-09-21 Thread Don Sylvia
void...? -- https://mail.python.org/mailman/listinfo/python-list

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

2013-09-21 Thread Chris “Kwpolska” Warrick
On Sat, Sep 21, 2013 at 11:10 AM, Don Sylvia donsylvi...@gmail.com wrote: void...? -- https://mail.python.org/mailman/listinfo/python-list void does not exist in Python, unless you named a variable “void”. In that case, it means whatever you set it to. -- Chris “Kwpolska” Warrick

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

2013-09-21 Thread Chris Angelico
On Sat, Sep 21, 2013 at 7:10 PM, Don Sylvia donsylvi...@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

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

2013-09-21 Thread Steven D'Aprano
On Sat, 21 Sep 2013 02:10:49 -0700, Don Sylvia wrote: void...? In Python, void doesn't mean anything. [steve@ando ~]$ python Python 2.7.2 (default, May 18 2012, 18:25:10) [GCC 4.1.2 20080704 (Red Hat 4.1.2-52)] on linux2 Type help, copyright, credits or license for more information.