Serhiy Storchaka added the comment:
"keywords" is unusual name. The most used name for the dict of keyword
arguments is "kwargs".
$ find Lib/ -name '*.py' -exec egrep -ho '\*\*[a-zA-Z_0-9]+' '{}' + | sort |
uniq -c | sort -nr | head
803 **kwargs
442 **kw
244 **kwds
...
If you want to have keyword arguments non-mutable, you can use
types.MappingProxyType.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25770>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com