[Python-checkins] CVS: python/dist/src/Lib string.py,1.46,1.47

Gerrit Holl Gerrit <gerrit@nl.linux.org>
Fri, 11 Feb 2000 21:43:05 +0100


Fredrik Lundh wrote on 950298201:
> Adrian Eyre <a.eyre@optichrome.com> wrote:
> > >     AE> I figured that this applies to lists, tuples and strings. See
> > >     AE> previous post for examples.
> > > 
> > > And any class that acts like a sequence has to implement a join()
> > > method too.
> > 
> > If they want to override the default.
> you're still confused.  "act like a sequence" is defined
> by an interface, not a base class.  there is no default.
> go study the sources, and you will understand.

Can you please discuss this somewhere else?
Either on python-dev, where I don't see it this obvious,
or on python-list, where I can contribute in the discussion.
I get frustated when I follow a discussion which I can't join!

I want to say that if types will eventually be classes in the Far Future,
a SequenceType could be implemented.


Homepage: http://www.nl.linux.org/~gerrit
-----BEGIN GEEK CODE BLOCK----- http://www.geekcode.com
Version: 3.12
GCS dpu s-:-- a14 C++++>$ UL++ P--- L+++ E--- W++ N o? K? w--- !O
!M !V PS+ PE? Y? PGP-- t- 5? X? R- tv- b+(++) DI D+ G++ !e !r !y
-----END GEEK CODE BLOCK----- moc.edockeeg.www//:ptth