PyStringObject

Invariants: * ob_sval contains space for 'ob_size+1' elements. * ob_svalob_size == 0. * ob_shash is the hash of the string or -1 if not computed yet. * ob_sstate != 0 iff the string object is in stringobject.c's * 'interned' dictionary; in this case the two references * from 'interned' to this object are *not counted* in ob_refcnt. * * subclass of PyVarObject */ /// Availability: 2.

version(!Python_3_0_Or_Later) extern (C)
struct PyStringObject {
char[1] _ob_sval;
}

Members

Functions

ob_sval
char* ob_sval()

_

Variables

ob_shash
C_long ob_shash;

_

ob_sstate
int ob_sstate;

_

Meta