December 16, 2020
Designing better Python interfaces with keyword-only arguments
Keyword-only arguments are one of our favorite features introduced in Python 3. But while they’ve been available since Python 3 was released in 2008, they still seem rarely used today. Probably because their true value is not always fully understood. However, keyword-only arguments can help you design better interfaces.