Contribute Media
A thank you to everyone who makes this possible: Read More

Accepting arbitrary keyword arguments in Python

Description

Ever seen **kwargs in a function definition? There's nothing special about the name "kwargs": it's the ** that's special. You can use Python's ** operator to define a function that accepts arbitrary keyword arguments.

Details

Improve this page