def _dict_from_expr_no_gens(expr, opt):
 ((poly,), gens) = _parallel_dict_from_expr_no_gens((expr,), opt)
 return (poly, gens)

def _dict_from_expr_no_gens ( expr , opt ) : ( ( poly , ) , gens ) = _parallel_dict_from_expr_no_gens ( ( expr , ) , opt ) return ( poly , gens )
transform an expression into a multinomial form and figure out generators .