PyUnicodeObject

subclass of PyObject.

  1. struct PyUnicodeObject
  2. struct PyUnicodeObject
    version(!Python_3_4_Or_Later)
    extern (C)
    struct PyUnicodeObject {}

Members

Mixins

__anonymous
mixin PyObject_HEAD
Undocumented in source.

Variables

defenc
PyObject* defenc;

(Default) Encoded version as Python string, or NULL; this is used for implementing the buffer protocol

hash
C_long hash;

Hash value; -1 if not set

length
Py_ssize_t length;

Length of raw Unicode data in buffer

str
Py_UNICODE* str;

Raw Unicode buffer

Mixed In Members

From mixin PyObject_HEAD

__anonymous
mixin _PyObject_HEAD_EXTRA
Undocumented in source.
ob_refcnt
Py_ssize_t ob_refcnt;

_

ob_type
PyTypeObject* ob_type;

_

Meta