Boosted by glyph ("Glyph"):
km@babb.no ("advokatt") wrote:
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.
https://docs.python.org/3/library/functools.html#functools.Placeholder