def versionToUsefulObject(version):
 from incremental import Version
 return Version(*[x.value for x in version.asList()[1:] if x])

def versionToUsefulObject ( version ) : from incremental import Version return Version ( * [ x . value for x in version . asList ( ) [ 1 : ] if x ] )
change an ast c{version()} to a real one .