Obscure Exception message

Thomas Wouters thomas at xs4all.net
Thu Jun 8 19:05:19 EDT 2000


On Thu, Jun 08, 2000 at 05:28:58PM -0400, Andrew M. Kuchling wrote:

> "Daley, MarkX" <markx.daley at intel.com> writes:
> > TypeError: string member test needs char left operand
> > I have no idea what this is telling me, although the 'char' comment makes me
> > wish I had a flamethrower!

> Good point.  Hmm... how about:
> TypeError: in <string> requires character as left operand

Put quotes around 'in <string>':

TypeError: 'in <string>' requires character as left operand


-- 
Thomas Wouters <thomas at xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!




More information about the Python-list mailing list