Skip to content

Incorrect claim that inspect.getattr_static and built-in getattr function have identical signatures in inspect documentation #150501

@jonathandung

Description

@jonathandung

Documentation

getattr doesn't take keyword arguments, while inspect.getattr_static does. Besides, its documentation represents the default of the default parameter as None, whereas it is an unrepresentable sentinel at runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir
    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions