Old Buffer Protocol — Python 3.9.25 documentation

docs.python.org

Tin mới

Concrete Objects Layer

Python documentation for the current stable release

Python documentation for the current stable release

These functions were part of the “old buffer protocol” API in Python 2. In Python 3, this protocol doesn’t exist anymore but the functions are still exposed to ease porting 2.x code. They act as a compatibility wrapper a

Python Module Index

3.9.25 Documentation

Python/C API Reference Manual

Abstract Objects Layer

new buffer protocol

These functions were part of the “old buffer protocol” API in Python 2. In Python 3, this protocol doesn’t exist anymore but the functions are still exposed to ease porting 2.x code. They act as a compatibility wrapper a

PyArg_ParseTuple()

These functions were part of the “old buffer protocol” API in Python 2. In Python 3, this protocol doesn’t exist anymore but the functions are still exposed to ease porting 2.x code. They act as a compatibility wrapper a