def sqrt(self, other): cdef bigint& temp_other = new bigint(other) cdef bigint temp_result = self.thisptr.sqrt(temp_other) result = Py_bigint() result.thisptr = &temp_result return