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


Groups > comp.lang.python > #15970

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

From Ben Finney <ben+python@benfinney.id.au>
Newsgroups comp.lang.python
Subject Re: What is the difference between "new Class()" and "Class()"?
References <mailman.2875.1321824124.27778.python-list@python.org>
Date 2011-11-21 10:40 +1100
Message-ID <87lira747i.fsf@benfinney.id.au> (permalink)
Organization Unlimited download news at news.astraweb.com

Show all headers | View raw


Herman <sorsorday@gmail.com> writes:

> What is so special about the "new" operator?

It's special because Python doesn't have it. Can you refer us with a URL
to the place where you've seen Python code containing a ‘new’ operator?

-- 
 \       “Fear him, which after he hath killed hath power to cast into |
  `\   hell; yea, I say unto you, Fear him.” –Jesus, as quoted in Luke |
_o__)                                                             12:5 |
Ben Finney

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


Thread

What is the difference between "new Class()" and "Class()"? Herman <sorsorday@gmail.com> - 2011-11-20 13:16 -0800
  Re: What is the difference between "new Class()" and "Class()"? Ben Finney <ben+python@benfinney.id.au> - 2011-11-21 10:40 +1100

csiph-web