Python Developer's Guide
Quick reference¶ · Proposing changes to Python itself¶ · Key resources¶ · Additional resources¶ · Code of conduct¶ · Other interpreter implementations¶ · Full table ...
Quick reference¶ · Proposing changes to Python itself¶ · Key resources¶ · Additional resources¶ · Code of conduct¶ · Other interpreter implementations¶ · Full table ...
When referring to a Python term like a module, class, or argument spell it as one word with appropriate markup (for example, :mod:`timezone`). When talking about the real-world concept spell it as two words with no markup.
Feb 20, 2026 · Getting started ¶ The Python language has a substantial body of documentation, much of it contributed by various authors. The markup used for the Python documentation is reStructuredText, developed by the docutils project, amended by custom directives and using a toolset named Sphinx to post-process the HTML output.
Aug 18, 2025 ... The best way to get a sense of how Argument Clinic works is to convert a function to work with it. Here, then, are the bare minimum steps ...
Functions named test_* are used as tests directly. Tests that need Python code (or are just easier to partially write in Python) live in Lib/test, mainly in Lib/test/test_capi. Due to its size, the _testcapi module is defined in several source files.
Oct 29, 2026 ... How to rename C functions and variables generated by Argument Clinic: Argument Clinic automatically names the functions it generates for you ...
Python is known for having well-written documentation. Maintaining the documentation’s accuracy and keeping a high level of quality takes a lot of effort. Community members, like you, help with wri...
Nov 29, 2025 · GDB support ¶ Page moved ¶ Information on debugging CPython using GDB is now in the main Python documentation, since it is relevant for C extension modules as well. Please read it first: Debugging C API extensions and CPython Internals with GDB CPython tips ¶ This document includes a few additional tips that are useful specifically for debugging CPython internals. Breaking at labels ¶ You ...
Oct 11, 2026 ... Source code: Tools/clinic/clinic.py. Argument Clinic is a ... Tutorial guides you through all the steps required to adapt an existing C function ...
Nov 22, 2026 · Code examples ¶ Translate values in code examples, that is string literals, and comments. Don’t translate keywords or names, including variable, function, class, argument, and attribute names. An example of a translated codeblock from the tutorial is provided below:
Oct 30, 2026 ... These instructions cover how to get a working copy of the source code and a compiled version of the CPython interpreter (CPython is the ...