[docs] [issue22571] Remove import * recommendations and examples in doc?

Mark Dickinson report at bugs.python.org
Tue Oct 7 10:40:23 CEST 2014


Mark Dickinson added the comment:

I think it's fine to recommend using (for example) `>>> from decimal import *` at the command-line prompt when experimenting with a module.  It's a quick way to get yourself into a state where you can easily experiment with that module and its features.

That's not the same as recommending that scripts using the decimal module start with "from decimal import *", of course.

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

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22571>
_______________________________________


More information about the docs mailing list