SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

bpo-35199: Add an internal _PyTuple_ITEMS() macro (GH-10434)

* _PyTuple_ITEMS() gives access to the tuple->ob_item field and cast the
  first argument to PyTupleObject*. This internal macro is only usable if
  Py_BUILD_CORE is defined.
* Replace &PyTuple_GET_ITEM(ob, 0) with _PyTuple_ITEMS(ob).
* Replace PyTuple_GET_ITEM(op, 1) with &_PyTuple_ITEMS(ob)[1].
V
Victor Stinner committed
d17a693fa08ce9f2d35acbb1f76e20bdae3e01da
Parent: 130893d
Committed by GitHub <noreply@github.com> on 11/9/2018, 3:56:48 PM