On Jun 8, 11:33 am, Gary Herron wrote:
> Kless wrote:
> > Is there any way of to get the class name to avoid to have that write
> > it?
>
> > ---
> > class Foo:
> > super(Foo, self)
> > ---
>
> > * Using Py 2.6.2
>
&
Kless wrote:
Is there any way of to get the class name to avoid to have that write
it?
---
class Foo:
super(Foo, self)
---
* Using Py 2.6.2
The question does not make sense:
"to have WHAT write WHAT",
and the code is wrong:
the call to super
Is there any way of to get the class name to avoid to have that write
it?
---
class Foo:
super(Foo, self)
---
* Using Py 2.6.2
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 7, 1:14 pm, Kless wrote:
> Is there any way of to get the class name to avoid to have that write
> it?
>
> ---
> class Foo:
> super(Foo, self)
> ---
>
> * Using Py 2.6.2
If you are using emacs you can use the put the following eli
On 2009-06-07 15:41, Tuomas Vesterinen wrote:
Kless wrote:
Is there any way of to get the class name to avoid to have that write
it?
---
class Foo:
super(Foo, self)
---
* Using Py 2.6.2
>>> class Foo(object):
... def cls(self):
... return self.
Kless wrote:
Is there any way of to get the class name to avoid to have that write
it?
---
class Foo:
super(Foo, self)
---
* Using Py 2.6.2
>>> class Foo(object):
... def cls(self):
... return self.__class__
...
>>> Fo