[Python-Dev] unicode: strange exception

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Mon, 3 Apr 2000 21:40:00 +0200


>>> "!" in ("a", None)
0
>>> u"!" in ("a", None)
Traceback (innermost last):
  File "<stdin>", line 1, in ?
TypeError: expected a character buffer object

</F>