Mark Dickinson added the comment:

+1 for the 'namespace' builtin.  It looks as though whoever wrote 
`SimpleNamespace.__repr__` anticipated this:

>>> ns = types.SimpleNamespace(a=3, b=4)
>>> ns
namespace(a=3, b=4)

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22123>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to