Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #12553 > unrolled thread
| Started by | Hegedüs Ervin <airween@gmail.com> |
|---|---|
| First post | 2011-09-01 10:24 +0200 |
| Last post | 2011-09-01 10:24 +0200 |
| 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: Constructors...BIIIIG PROBLEM! Hegedüs Ervin <airween@gmail.com> - 2011-09-01 10:24 +0200
| From | Hegedüs Ervin <airween@gmail.com> |
|---|---|
| Date | 2011-09-01 10:24 +0200 |
| Subject | Re: Constructors...BIIIIG PROBLEM! |
| Message-ID | <mailman.651.1314865577.27778.python-list@python.org> |
hello,
On Thu, Sep 01, 2011 at 10:00:27AM +0200, Michiel Overtoom wrote:
> On Sep 1, 2011, at 09:48, Amogh M S wrote:
[...]
> > class S:
> > def _init_(self, name=None):
> > self.name = name
> > s = S("MyName")
>
> Two things: Derive your class from object,
why's that better than just create a simple class, without
derive?
thanks:
a.
Back to top | Article view | comp.lang.python
csiph-web