Lines Matching defs:string
208 interpreter result to a Python string object.) This can be done by
612 v->StringType = Tcl_GetObjType("string");
752 PyObject *string; /* This cannot cause cycles. */
767 self->string = NULL;
776 Py_XDECREF(self->string);
783 "the string representation of this object, either as str or bytes");
788 if (!self->string) {
789 self->string = unicodeFromTclObj(self->value);
790 if (!self->string)
793 Py_INCREF(self->string);
794 return self->string;
800 if (self->string) {
801 Py_INCREF(self->string);
802 return self->string;
856 {"string", (getter)PyTclObject_string, NULL,
883 PyErr_SetString(PyExc_OverflowError, "string is too long"); \
1010 PyErr_SetString(PyExc_OverflowError, "string is too long");
1037 PyErr_SetString(PyExc_OverflowError, "string is too long");
1320 /* Convert the results of a command call into a Python string. */
1642 PyErr_SetString(PyExc_OverflowError, "string is too long");
2178 PyErr_SetString(PyExc_OverflowError, "string is too long");