def monomial_deg(M):
    return sum(M)
Creates a wildcard for a given extension.
dataset/ETHPy150Open sympy/sympy/sympy/polys/monomials.py/monomial_deg--crossover with--dataset/ETHPy150Open enthought/pyface/pyface/i_file_dialog.py/MFileDialog.create_wildcard