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

Ben Finney ben+python at benfinney.id.au
Sun Nov 20 18:40:33 EST 2011


Herman <sorsorday at 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



More information about the Python-list mailing list