[Python-Dev] PEP: Unicode Indexing Helper Module

Neil Hodgson nhodgson at bigpond.net.au
Fri Jul 13 09:13:40 EDT 2001


M.-A. Lemburg:
>    next_<indextype>(u, index) -> integer
>
>        Returns the Unicode object index for the start of the next
>        <indextype> found after u[index] or -1 in case no next
>        element of this type exists.
>
>    prev_<indextype>(u, index) -> integer
> ...

   Its not clear to me from the description whether the term "object index"
is used for a code unit index or an <indextype> index. Code unit index seems
to make the most sense but this should be explicit.

   Neil





More information about the Python-list mailing list