Nick Coghlan writes:
> (With the lack of an underscore being due to the precedent set by
> dict.fromkeys())
>
> Armed with those, the "give me all the attributes from __dir__"
> command would be:
>
> attrs = dict.from_attrs(obj, dir(obj))
A
Urk --------------------+
You sure you want to follow precedent? My fingers really like that
typo, too!
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/