problem with string % conversion

tnb2d@henson.cs.virginia.edu
Wed, 22 Jun 94 12:29:50 EDT

Why is this happening? I thought that the "%s" meant print
the repr of the object, whatever it is.

---------%< snip %<------------------%< snip %<---------

Python 1.0.2 (Jun 20 1994)
Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
>>> a = ([1,2,3], 'howdy!')
>>> print "%s" % a
Traceback (innermost last):
File "<stdin>", line 1
TypeError: not all arguments converted

-------> Tommy.

"Python, like capitalism and love, eventually co-opts all who
seek to change it <grin>." -- Tim Peters