Skip to content

Argument clinic: outdated tutorial #1253

Open

Description

@eltoder

Documentation

The tutorial for Argument Clinic in the devguide contains an outdated section. It still describes the early implementation that used to generate calls to PyArg_ParseTuple*() functions. This is no longer the case.

The affected section starts with "First, ensure both places use the same argument-parsing function." and goes for a few paragraphs until "If any of these items differ in any way, adjust your Argument Clinic function specification and rerun Tools/clinic/clinic.py until they are the same."

Given that the output is now very different, this is quite confusing to read. The section probably needs to be completely rewritten.

CC @AlexWaygood @erlend-aasland

Activity

  1. transferred this issue frompython/cpythonon Dec 21, 2023
  2. erlend-aasland commented on Dec 22, 2023

    @erlend-aasland
    Contributor

    Thanks for the report; do you want to propose a PR?

  3. added
    type-feature
    on Feb 6, 2024
  4. added
    type-bug
    on Sep 13, 2025
  5. removed
    type-feature
    on Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-dev processtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions