[Python-Dev] Coding practice for context managers

Ethan Furman ethan at stoneleaf.us
Mon Oct 21 04:49:24 CEST 2013


On 10/20/2013 07:42 PM, Raymond Hettinger wrote:
>
> In short, I recommend that efforts be directed at improving help() rather than limiting introspection by way of less clean coding practices.

+1

We also have the option of adding a custom __dir__ to change what help() displays.

--
~Ethan~


More information about the Python-Dev mailing list