ID EN
Built-in Types

obj

Python 3.11

The underlying object of the memoryview:

Syntax

PYTHON
obj

Examples

Example 1
PYTHON
>>> b  = bytearray(b'xyz')
>>> m = memoryview(b)
>>> m.obj is b
True