Searched refs:getslicestr (Results 1 – 2 of 2) sorted by relevance
1157 static PyObject *getslicestr; in instance_slice() local1159 if (getslicestr == NULL) { in instance_slice()1160 getslicestr = PyString_InternFromString("__getslice__"); in instance_slice()1161 if (getslicestr == NULL) in instance_slice()1164 func = instance_getattr(inst, getslicestr); in instance_slice()
1181 static PyObject *getslicestr; in instance_slice() local1183 if (getslicestr == NULL) { in instance_slice()1184 getslicestr = PyString_InternFromString("__getslice__"); in instance_slice()1185 if (getslicestr == NULL) in instance_slice()1188 func = instance_getattr(inst, getslicestr); in instance_slice()