Skip to content

Make Callable more flexible #239

Closed
Closed
@gvanrossum

Description

@gvanrossum

We keep hearing requests for a way to declare a callback with either specific keyword arguments or just optional arguments. It would be nice if we could come up with a way to describe these.

Some suggestions:

  • a magical decorator (@JukkaL)
  • a way to point to an existing function as a template (@guido)

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