Searched refs:_is_dunder (Results 1 – 3 of 3) sorted by relevance
22 def _is_dunder(name): function129 elif _is_dunder(key):432 if _is_dunder(name):
921 def _is_dunder(attr): function968 if '__origin__' in self.__dict__ and not _is_dunder(attr):973 if _is_dunder(attr) or attr in {'_name', '_inst', '_nparams',988 + [attr for attr in dir(self.__origin__) if not _is_dunder(attr)]))
116 self.assertTrue(enum._is_dunder(s))119 self.assertFalse(enum._is_dunder(s))3405 self.assertTrue(enum._is_dunder(name), '%r is a not dunder name?' % name)3407 self.assertFalse(enum._is_dunder(name), '%r is a dunder name?' % name)