Lines Matching refs:self
94 .def("__getstate__", [](py::object self) {
96 return py::make_tuple(self.attr("value"), self.attr("extra"), self.attr("__dict__"));
98 .def("__setstate__", [](py::object self, py::tuple t) {
102 auto& p = self.cast<PickleableWithDict&>();
109 self.attr("__dict__") = t[2];
115 [](py::object self) {
116 return py::make_tuple(self.attr("value"), self.attr("extra"), self.attr("__dict__"));