Skip to content
murmot

Results for “python function reference table example code site:devguide.python.org find”

  • devguide.python.org

    Style guide

    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.

  • devguide.python.org

    Getting started - Python Developer's Guide

    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.

  • devguide.python.org

    Tutorial - Python Developer's Guide

    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 ...

  • devguide.python.org

    Changing Python’s C API

    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.

  • devguide.python.org

    How-to guides - Python Developer's Guide

    Oct 29, 2026 ... How to rename C functions and variables generated by Argument Clinic: Argument Clinic automatically names the functions it generates for you ...

  • devguide.python.org

    Helping with documentation | Python Developer's Guide

    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...

  • devguide.python.org

    GDB support - Python Developer's Guide

    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 ...

  • devguide.python.org

    Argument Clinic - Python Developer's Guide

    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 ...

  • devguide.python.org

    Translating - Python Developer's Guide

    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: