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

Fredrik Lundh fredrik@pythonware.com
Fri, 11 Feb 2000 17:55:59 +0100


> By sequence object, I meant any Python object that returns true on
> a PySequence_Check()

are we talking about the same language?

PySequence_Check checks if an object can be used as
a sequence.

> indicating it can be safely cast to a PySequenceObject.

there is no such thing as a PySequenceObject.

> I figured that this applies to lists, tuples and strings. See
> previous post for examples.

and even if it were, who would do the casting?

> > (there are hundreds of them, but just two basic string types...)
>=20
> Two? I'm confused now...

obviously ;-)

> Besides, I don't see the connection...

you will.  you will.

</F>