[Xcb] Python generator / cairo problems

Donnie Berkholz dberkholz at gentoo.org
Mon Apr 21 16:22:32 PDT 2008

On 16:41 Mon 21 Apr     , Eamon Walsh wrote:
> I used a function named rpartition which was labeled as 2.5-only. It 
> just splits a string on a separator so I'll see if I can find a 
> replacement for it. That's the only 2.5-ism I'm aware of in the code 
> itself. However, the documentation for ElementTree and cElementTree says 
> that they didn't get bundled with the default Python install until 2.5.

Haven't looked at your code, but can you do something like this?

>>> a='foobar blah blech'
>>> a.split(' ')
['foobar', 'blah', 'blech']


More information about the Xcb mailing list