Post #820472
2026-03-28 11:06 UTC
reading docs is helpful -- during today's short look at #Python docs, I discovered that as of 3.14 functools.partial() may take placeholders: this makes it possible to pre-fill any positional argument with a call to partial(); without Placeholder, only the chosen number of leading positional arguments can be pre-filled.
#Python #TIL
https://docs.python.org/3/library/functools.html#functools.Placeholder
Replies (0)
No replies.