On 2016-01-10, Peter Otten <__pete...@web.de> wrote:
class Derived(Base):
> ... def _init(self, x):
> ... super()._init(x)
> ... print("do something else with", x)
> ...
Derived(42)
> do something with 42
> do something else with 42
><__main__.Derived object at
On Tue, Jan 12, 2016 at 9:12 AM, me wrote:
> On 2016-01-10, Peter Otten <__pete...@web.de> wrote:
> class Derived(Base):
> > ... def _init(self, x):
> > ... super()._init(x)
> > ... print("do something else with", x)
> > ...
> Derived(42)
> > do
Someone else posting as "me" wrote:
> On 2016-01-10, Peter Otten <__pete...@web.de> wrote:
> class Derived(Base):
>> ... def _init(self, x):
>> ... super()._init(x)
>> ... print("do something else with", x)
>> ...
> Derived(42)
>> do something with 42
>> do something
Hi,
When I read a sample file from hmm learn package, which is on top of
scikit-learn package, I see there are many member functions (prefix with
'_') have no caller. That is, I don't see anything uses those functions.
Below is a sample part from class GMMHMM(_BaseHMM):
//
def
On Mon, 11 Jan 2016 04:55 am, Robert wrote:
> Some online tutorials tell me '_' prefix is a kind of convention of
> private members.
Correct. Not just private members, but private *anything*.
Any time you see anything starting with a single underscore, whether it is a
module, class, method,
Robert wrote:
> When I read a sample file from hmm learn package, which is on top of
> scikit-learn package, I see there are many member functions (prefix with
> '_') have no caller. That is, I don't see anything uses those functions.
> Below is a sample part from class GMMHMM(_BaseHMM):
I bet