def _is_py_file(path):
    return os.path.splitext(path)[1] in ['.py','.pyc','.pyo','.pyd']
Sets the default values for this instance
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.util/src/openmdao/util/envirodump.py/_is_py_file--crossover with--dataset/ETHPy150Open ambitioninc/django-query-builder/querybuilder/query.py/Query.init_defaults