This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Insufficient description of relative imports in docs.python.org
Type: behavior Stage:
Components: Documentation Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Aniruddha Bhattacharjee, docs@python
Priority: normal Keywords:

Created on 2019-10-17 16:38 by Aniruddha Bhattacharjee, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg354851 - (view) Author: Aniruddha Bhattacharjee (Aniruddha Bhattacharjee) Date: 2019-10-17 16:38
In the section "relative imports" of the documentation for "import system", the use of relative imports is explained with the use of an example, however if you try the exact same thing it gives an error. This is nicely explained in https://stackoverflow.com/questions/14132789/relative-imports-for-the-billionth-time and https://www.python.org/dev/peps/pep-0395/. This has also been added as an open issue in the documentation . Is this still under consideration, then I would be happy to update the docs. Thanks
History
Date User Action Args
2022-04-11 14:59:21adminsetgithub: 82690
2019-10-17 16:38:32Aniruddha Bhattacharjeecreate