Home
last modified time | relevance | path

Searched refs:_is_dunder (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/
Denum.py22 def _is_dunder(name): function
129 elif _is_dunder(key):
432 if _is_dunder(name):
Dtyping.py921 def _is_dunder(attr): function
968 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)]))
/third_party/python/Lib/test/
Dtest_enum.py116 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)