UTF-8 characters in doctest

John J. Lee jjl at pobox.com
Sat Sep 22 03:12:49 EDT 2007


Peter Otten <__peter__ at web.de> writes:
[...]
>> Forgive me if this is a stupid question, but: What purpose does
>> function f serve?
>
> Like the OP's get_inventary_number() it takes a unicode string and
> returns a tuple of unicode strings. I'ts pointless otherwise. I hoped I
> had stripped down his code to a point where the analogy was still
> recognizable.

Ah, right.


John



More information about the Python-list mailing list