Skip to content

forced named arguements #10

@rishabhdeepsingh

Description

@rishabhdeepsingh

Will it be cool to add forced-named arguments to this list?

def foo(pos, *, forcenamed):
     print(pos, forcenamed)
>>> foo(pos=10, forcenamed=20)
10 20
>>> foo(10, forcenamed=20)
10 20

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