summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index af3a376..01dce94 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -204,8 +204,9 @@ typedef struct {
int length; /* Length of raw Unicode data in buffer */
Py_UNICODE *str; /* Raw Unicode buffer */
long hash; /* Hash value; -1 if not set */
- PyObject *utf8str; /* UTF-8 encoded version as Python string,
- or NULL */
+ PyObject *defenc; /* (Default) Encoded version as Python
+ string, or NULL; this is used for
+ implementing the buffer protocol */
} PyUnicodeObject;
extern DL_IMPORT(PyTypeObject) PyUnicode_Type;