Re: Reusing object methods?
- From: Axel Straschil <axel@xxxxxxxxxxxxx>
- Date: 30 Apr 2005 06:41:44 GMT
Hello!
Why not:
> class A:
> def a_lengthy_method(self, params):
> # do some work depending only on data in self and params
>
> class B(A): pass
?
Lg,
AXEL.
.
- References:
- Reusing object methods?
- From: Ivan Voras
- Reusing object methods?
- Prev by Date: "implementation" of PEP 262 as an academic project
- Next by Date: Re: Python Challenge ahead [NEW] for riddle lovers
- Previous by thread: Re: Reusing object methods?
- Next by thread: Re: Reusing object methods?
- Index(es):