def __new__(class_, name, bases, dict_):
        # Add default behaviour for representing closed nodes.
        for mname in ['__str__', '__repr__']:
            if dict_ in mname:
                dict_[mname] = _closedrepr(dict_[mname])

        return type.__new__(class_, name, bases, dict_)
dataset/ETHPy150Open PyTables/PyTables/tables/node.py/MetaNode.__new__/swapped operands of `in`