« * K @brandonrohrer.com

Brandon Rohrer @brandonrohrer.com

2026-09-29 12:25 UTC

This means that now when I write ``` def sum(*, a=None, b=None): return a + b ``` I no longer have to check that `a` and `b` are not `None` in the function, and I can call it with ``` arg_dict = {'a': 4, 'b': 9} print(sum(**arg_dict)) ```

A reply in a thread.

0 likes, 0 reposts, 1 replies

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