Skip to content
Opensource internals
  • Posts

Function

CPython's function Implementation in C

Oct 20, 2026 8 min read Jay Hubbert

A Python function is a PyFunctionObject — a shared code object bolted to a globals dict, a tuple of defaults, and a tuple of closure cells — and every call goes through vectorcall.

PythonCpythonInternalsFunction

Read more →

© 2026 Jay Hubbert · Built with Hugo 0.168.0

RSS ·