Searched refs:_slotnames (Results 1 – 7 of 7) sorted by relevance
109 self.assertEqual(copyreg._slotnames(WithoutSlots), [])110 self.assertEqual(copyreg._slotnames(WithWeakref), [])112 self.assertEqual(copyreg._slotnames(WithPrivate), expected)114 self.assertEqual(copyreg._slotnames(_WithLeadingUnderscoreAndPrivate),116 self.assertEqual(copyreg._slotnames(___), ['__spam'])117 self.assertEqual(copyreg._slotnames(WithSingleString), ['spam'])120 result = copyreg._slotnames(WithInherited)
109 def _slotnames(cls): function
98 copyreg: _inverted_registry,_slotnames,__all__
480 Fix `copyreg._slotnames()` mangled attribute calculation for classes whose
1976 Fix `copyreg._slotnames()` mangled attribute calculation for classes whose
437 Objects/typeobject.c:_PyType_GetSlotNames():PyId__slotnames _Py_IDENTIFIER(_slotnames)
4839 _Py_IDENTIFIER(_slotnames); in _PyType_GetSlotNames()