New submission from Hans Strijker <h...@stry.org>:

In the documentation I noticed "from Package import specific_submodule". I 
recon package should be all lowercase in accordance with pep8.
(https://www.python.org/dev/peps/pep-0008/#package-and-module-names)

It may be far from the most important bug ever, but it's my first bug reported, 
and gotta start small... :-)

https://docs.python.org/3/tutorial/modules.html#importing-from-a-package

6.4.1. Importing * From a Package
...
Remember, there is nothing wrong with using from Package import 
specific_submodule! In fact, this is the recommended notation unless the 
importing module needs to use submodules with the same name from different 
packages.

----------
assignee: docs@python
components: Documentation
messages: 330537
nosy: Strijker, docs@python
priority: normal
severity: normal
status: open
title: Documentation - capitalization issue
versions: Python 3.7

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

Reply via email to