Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65167 > unrolled thread
| Started by | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| First post | 2014-02-01 13:38 +1100 |
| Last post | 2014-02-01 13:38 +1100 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: __init__ is the initialiser Ben Finney <ben+python@benfinney.id.au> - 2014-02-01 13:38 +1100
| From | Ben Finney <ben+python@benfinney.id.au> |
|---|---|
| Date | 2014-02-01 13:38 +1100 |
| Subject | Re: __init__ is the initialiser |
| Message-ID | <mailman.6245.1391222310.18130.python-list@python.org> |
Terry Reedy <tjreedy@udel.edu> writes: > User classes lacking .__init__ usually inherit it from something other > than object. So objects are constructed by first calling .__new__ and > then passing the result to .__init__. The Python 3 doc should say so. That matches my understanding, and I agree the docs should (somehow) say that clearly. -- \ “He may look like an idiot and talk like an idiot but don't let | `\ that fool you. He really is an idiot.” —Groucho Marx | _o__) | Ben Finney
Back to top | Article view | comp.lang.python
csiph-web