Skip to content
main
Switch branches/tags
cpython/Include/
cpython/Include/

Latest commit

Deprecate functions:

* PyUnicode_AS_DATA()
* PyUnicode_AS_UNICODE()
* PyUnicode_GET_DATA_SIZE()
* PyUnicode_GET_SIZE()

Previously, these functions were macros and so it wasn't possible to
decorate them with Py_DEPRECATED().
9e146bb

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time

The Python C API

The C API is divided into three sections:

  1. Include/: Limited API
  2. Include/cpython/: CPython implementation details
  3. Include/internal/: The internal API

Information on changing the C API is available in the developer guide