Skip to content

PyObject_DelItemString is not documented #127954

Closed

Description

Documentation

PyObject_DelItemString is part of the limited C-API and is undocumented. This function was implemented in commit b0d71d0 , but no documentation was added.

Linked PRs

Activity

  1. ghost added
    docsDocumentation in the Doc dir
    on Dec 15, 2024
  2. ZeroIntensity commented on Dec 15, 2024

    @ZeroIntensity
    Member

    Thanks for tracking these down. You might also want to take a look at gh-118915 if you're interested in submitting some PRs :)

  3. picnixz commented on Dec 15, 2024

    @picnixz
    Member

    For anyone interested in documenting this one: it's the same as PyObject_DelItem but instead of taking the key as a PyObject *, it takes the key as a const char *. We should just mention that the key is a UTF-8 encoded bytes string (see PyObject_HasAttrStringWithError for instance for a similar formulation when the parameter is a const char *).

  4. rruuaanng commented on Dec 15, 2024

    @rruuaanng
    Contributor

    I want to ask, if I can complete it? It's documentation can be like at PyObject_HasAttrStringWithError :---)

  5. picnixz commented on Dec 15, 2024

    @picnixz
    Member

    I'd wait a week in case @koyuki7w wanted to take it (they've be contributing to docs recently).

  6. added a commit that references this issue on Jan 4, 2025
  7. added 2 commits that reference this issue on Jan 4, 2025
  8. erlend-aasland commented on Jan 4, 2025

    @erlend-aasland
    Contributor

    Thanks for the report, Yuki; thanks for the PR, James.

    Documentation added in…:

    Auto-merge enabled for the backports. Marking as resolved.

  9. added 2 commits that reference this issue on Jan 4, 2025
  10. added 2 commits that reference this issue on Jan 6, 2025
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

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions