def _handleTextNotes(s):
 ssplit = s.split('::', 1)
 if (len(ssplit) == 1):
  return s
 return (u'%s<notes>%s</notes>' % (ssplit[0], ssplit[1]))

def _handleTextNotes ( s ) : ssplit = s . split ( '::' , 1 ) if ( len ( ssplit ) == 1 ) : return s return ( u'%s<notes>%s</notes>' % ( ssplit [ 0 ] , ssplit [ 1 ] ) )
split text::notes strings .