def display2classmethod(display):
 L = display.split(' -> ')
 return (L[0], L[1])

def display2classmethod ( display ) : L = display . split ( ' -> ' ) return ( L [ 0 ] , L [ 1 ] )
opposite of classmethod2display .