Jameson Quinn wrote: > def fun2(**kw): > print kw["argument"] Since this function effectively has a compulsory argument called 'argument', it would be better written def fun2(argument, **kw): print argument or, if the recently-added keyword-only feature is available, def fun2(*, argument, **kw): print argument -- Greg
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4