pycomp: drop to_ord().

Not used.