Skip to content

PyObject_Format c-api function is not documented #102595

Description

@sobolevn

Documentation

I think it must be, for the following reasons:

  1. It is a stable API that exists since python3
  2. It is implementing a builtin magic method __format__
  3. It is quite useful for others
  4. It is quite simple
  5. There are no plans to remove / deprecate it
  6. It is used in some parts of docs, example: https://github.com/python/cpython/blame/5ffdaf748d98da6065158534720f1996a45a0072/Doc/library/dis.rst#L1426

I will send a PR.

Linked PRs

Activity

  1. added
    type-featureA feature request or enhancement
    docsDocumentation in the Doc dir
    on Mar 11, 2023
  2. self-assigned this
    on Mar 11, 2023
  3. added a commit that references this issue on Mar 11, 2023
  4. added 5 commits that reference this issue on Mar 21, 2023
  5. encukou commented on Mar 22, 2023

    @encukou
    Member

    Thank for the docs!

  6. added a commit that references this issue on Mar 27, 2023
  7. added a commit that references this issue on Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docsDocumentation in the Doc dirtype-featureA feature request or enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions