Keyword arguments are possible with placeholders#44
Keyword arguments are possible with placeholders#44wolph wants to merge 1 commit intoulope:masterfrom
Conversation
Using a `dict()` to allow for keyword arguments is the obvious alternative for the new-style keyword arguments. It's a bit odd to say that this sn't supported.
|
Thanks for the PR. However I think it's a question of semantics whether you'd call this form "keyword arguments". Sure dict accepts kwargs but IMO that has little to do with the |
|
I suppose it is, but it's a commonly used technique so it would be good to document that regardless of whether it's related to the formatting call. |
|
I don't know that the split even makes sense, fundamentally the first section is already using keyword arguments: |
|
In any case, I think this should document an alternative solution for common use cases and for the projects I've seen the dict approach is common enough so it should be added. @ulope will this get merged or should I just close it? |
Using a
dict()to allow for keyword arguments is the obvious alternative for the new-style keyword arguments. It's a bit odd to say that this sn't supported.