Subclassing in C

Michael Hudson mwh at python.net
Wed Sep 15 07:40:08 EDT 2004


Leif K-Brooks <eurleif at ecritters.biz> writes:

> Michael Hudson wrote:
> > Iker Arizmendi <iker at research.att.com> writes:
> > 
> >>(*) The class I'm deriving from is defined in another
> >>extension module and it has its own tp_getattr method.
> > Hmm.  I take it *it's* tp_getattr[o] method isn't
> > PyObject_GenericGetAttr then?
> 
> [Emphasis not mine.]
> 
> Sorry, but Iker had it right and you had it wrong. "Its", with no
> apostrophe, is possessive; "it's", with an apostrophe, is a
> contraction of "it is". Therefor, "It's red." and "Its color is red."
> are both correct.

Believe me, I know.  However, I type fairly fast, and very often make
this mistake.  (I cringed when my post came back to me from the
newsserver).

Cheers,
mwh

-- 
  I have *both* hands clapping, but I'm still not sure it's a sound.
  When I tried deciding if it were a sound while clapping only one
  hand, I fell off my chair.
                         -- Peter Hansen, Zen master, comp.lang.python



More information about the Python-list mailing list