Skip to content

inspect. _signature_fromstr has unused code #99815

Closed
@iritkatriel

Description

@iritkatriel

The signature parsing in inspect has some code that checks whether parse_name return the sentinel "invalid", but parse_name never returns this value. So this is dead code.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions