classification
Title: Documentation - capitalization issue
Type: enhancement Stage: needs patch
Components: Documentation Versions: Python 3.8, Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Strijker, cheryl.sabella, docs@python
Priority: normal Keywords:

Created on 2018-11-27 16:43 by Strijker, last changed 2019-04-15 20:18 by cheryl.sabella.

Messages (2)
msg330537 - (view) Author: Hans Strijker (Strijker) Date: 2018-11-27 16:43
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.
msg340305 - (view) Author: Cheryl Sabella (cheryl.sabella) * (Python committer) Date: 2019-04-15 20:18
Hi Hans,

Would you be interested in making a pull request with this change?  Thanks!
History
Date User Action Args
2019-04-15 20:18:17cheryl.sabellasetversions: + Python 3.8
nosy: + cheryl.sabella

messages: + msg340305

type: enhancement
stage: needs patch
2018-11-27 16:43:56Strijkercreate