[Python-Dev] PEP: Unicode Indexing Helper Module

Neil Hodgson nhodgson@bigpond.net.au
Fri, 13 Jul 2001 23:13:40 +1000


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