Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Argument Clinic: add support for renaming a parameter #108271

Open
@erlend-aasland

Description

@erlend-aasland

Originally posted by @serhiy-storchaka in #95065 (comment):

  1. Rename positional-or-keyword or keyword-only parameters. In meantime the function should accept both old and new keyword names, but raise an exception if both are passed or if the argument is passed as positional and keyword. For example see Wrong keyword parameter name in regex pattern methods #64482.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions