python is one of those languages where there's lots of ways to do things but there's meant to be one good way to do things.

suppose for reasons, I am in need a callable that takes exactly zero arguments returns None.

`lambda: None` gets the job done. however `type(None)`, and `print` do too and both golf harder but I don't like the side effect of passing in print.

what is the most pointlessly nitpicky nothing-but-the-batteries-included philosophically most pythonic way to do this?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.gamedev.place/users/aeva/statuses/114424869229050699 on your instance and quote it. (Note that quoting is not supported in Mastodon.)