Skip to content

Outdated docstrings in Lib/inspect.py #122058

Closed
@Eclips4

Description

@Eclips4

inspect.isfunction docstring is missing a:

  • __dict__
  • __closure__
  • __qualname__
  • __module__
  • __type_params__

inspect.isgenerator:

  • gi_yieldfrom
  • gi_suspended(?) an undocumented attribute, I guess we should not expose it there
  • next - an old attribute which has been removed, so should be removed from there as well

inspect.isframe:

  • clear
  • f_trace_lines
  • f_trace_opcodes

inspect.iscode:

  • co_positions
  • co_lines
  • co_qualname
  • replace

I have a PR ready.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixes3.13bugs and security fixes3.14bugs and security fixesdocsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions