MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / current_py_limited_api

Function current_py_limited_api

pipcl.py:3192–3197  ·  view source on GitHub ↗

Returns value of PyLIMITED_API to build for current Python.

()

Source from the content-addressed store, hash-verified

3190
3191
3192def current_py_limited_api():
3193 '''
3194 Returns value of PyLIMITED_API to build for current Python.
3195 '''
3196 a, b = map(int, platform.python_version().split('.')[:2])
3197 return f'0x{a:02x}{b:02x}0000'
3198
3199
3200def install_dir(root=None):

Callers 1

build_extensionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…