[docs] [issue36892] "Modules" section in Tutorial contains incorrect description about __init__.py

musou1500 report at bugs.python.org
Sat May 11 19:00:01 EDT 2019


New submission from musou1500 <musou1500 at gmail.com>:

"Modules" section in the tutorial says that
https://docs.python.org/3/tutorial/modules.html
"The __init__.py files are required to make Python treat directories containing the file as packages. "

But, thanks to PEP 420, __init__.py is not required after Python 3.3.
https://www.python.org/dev/peps/pep-0420/

----------
assignee: docs at python
components: Documentation
messages: 342228
nosy: docs at python, musou1500
priority: normal
severity: normal
status: open
title: "Modules" section in Tutorial contains incorrect description about __init__.py
type: enhancement
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36892>
_______________________________________


More information about the docs mailing list