« * K @brandonrohrer.com

Brandon Rohrer @brandonrohrer.com

2026-09-29 12:25 UTC

Cool Python trick: Sometimes you want functions to have keyword arguments, but you also want them to be required. This is especially useful when you're passing required arguments using dictionary expansion, like `function(**arg_dict)`.

0 likes, 0 reposts, 1 replies

3 Next post4 More from @brandonrohrer.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup