[Python-Dev] Fwd: Problem withthe API for str.rpartition()

Georg Brandl g.brandl at gmx.net
Wed Sep 6 10:39:07 CEST 2006

Steve Holden wrote:

>> * I acknowledge that Python *code* is almost certainly going to be edited in a 
>> left-to-right text editor, because it's an English-based programming language. 
>> But the strings that string methods like partition() and rpartition() are used 
>> with are quite likely to be coming from or written to a or user interface that 
>> uses a native script orientation.
> Perhaps we should be thinking "beginning" and "end" here, though it 
> seems as though it won't be possible to find a terminology that will be 
> intuitively obvious to everyone.

Which is why an example is absolutely necessary and will make things clear for


More information about the Python-Dev mailing list