PyBytesObject

subclass of PyVarObject.

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.

  1. struct PyBytesObject
    version(Python_3_0_Or_Later) extern (C)
    struct PyBytesObject {
    char[1] _ob_sval;
    }
  2. alias PyBytesObject = PyStringObject

Members

Properties

ob_sval
char* ob_sval [@property getter]

_

Variables

ob_shash
Py_hash_t ob_shash;

_

Meta