Lines Matching defs:staticmethod
982 If you want those, see the staticmethod builtin.");
1045 @staticmethod
1061 } staticmethod;
1064 sm_dealloc(staticmethod *sm)
1073 sm_traverse(staticmethod *sm, visitproc visit, void *arg)
1081 sm_clear(staticmethod *sm)
1091 staticmethod *sm = (staticmethod *)self;
1095 "uninitialized staticmethod object");
1105 staticmethod *sm = (staticmethod *)self;
1108 if (!_PyArg_NoKeywords("staticmethod", kwds))
1110 if (!PyArg_UnpackTuple(args, "staticmethod", 1, 1, &callable))
1124 staticmethod *sm = (staticmethod *)callable;
1129 {"__func__", T_OBJECT, offsetof(staticmethod, sm_callable), READONLY},
1130 {"__wrapped__", T_OBJECT, offsetof(staticmethod, sm_callable), READONLY},
1135 sm_get___isabstractmethod__(staticmethod *sm, void *closure)
1155 sm_repr(staticmethod *sm)
1157 return PyUnicode_FromFormat("<staticmethod(%R)>", sm->sm_callable);
1161 "staticmethod(function) -> method\n\
1169 @staticmethod\n\
1182 "staticmethod",
1183 sizeof(staticmethod),
1215 offsetof(staticmethod, sm_dict), /* tp_dictoffset */
1225 staticmethod *sm = (staticmethod *)