On Mar 20, 2015, at 09:59 PM, Ian Lee wrote:

>shebang
>docstring
>imports
>dunder assignments
>other code...

I generally put imports after dunders, except for __future__.  I want the
first screenful of code to contain them, and imports can be a few dozen lines
in some modules.

-Barry
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to