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


Groups > comp.lang.python > #15968

Re: What is the difference between "new Class()" and "Class()"?

From Terry Reedy <tjreedy@udel.edu>
Subject Re: What is the difference between "new Class()" and "Class()"?
Date 2011-11-20 16:41 -0500
References <CANOe_mhm-Md8MQoEhMN89H+ybm7rL3UVgC+LGPtb8=Cvfg5sqQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.2877.1321825289.27778.python-list@python.org> (permalink)

Show all headers | View raw


On 11/20/2011 4:16 PM, Herman wrote:
> What is so special about the "new" operator?

There is no 'new' operator in Python. Perhaps you are thinking of 
javascript or maybe jave or ...?

-- 
Terry Jan Reedy

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


Thread

Re: What is the difference between "new Class()" and "Class()"? Terry Reedy <tjreedy@udel.edu> - 2011-11-20 16:41 -0500

csiph-web