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 {}
  2. alias PyBytesObject = PyStringObject

Members

Functions

ob_sval
char* ob_sval()

_

Mixins

__anonymous
mixin PyObject_VAR_HEAD

Undocumented in source.

Variables

_ob_sval
char[1] _ob_sval;

Undocumented in source.

ob_shash
Py_hash_t ob_shash;

_

Mixed In Members

From mixin PyObject_VAR_HEAD

__anonymous
mixin PyObject_HEAD

Undocumented in source.

ob_size
Py_ssize_t ob_size;

_

Meta