diff options
author | Andre Delfino <adelfino@gmail.com> | 2021-11-06 18:09:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-06 18:09:23 (GMT) |
commit | 57457a1e5caf714034a75fe4f382b8b669ce6ed8 (patch) | |
tree | ac4c730b83297e18fe32e7886954049f3ad6a927 /Doc/library/__main__.rst | |
parent | 77a2c77c84d2ead2d19f96df862c119308e90071 (diff) | |
download | cpython-57457a1e5caf714034a75fe4f382b8b669ce6ed8.zip cpython-57457a1e5caf714034a75fe4f382b8b669ce6ed8.tar.gz cpython-57457a1e5caf714034a75fe4f382b8b669ce6ed8.tar.bz2 |
bpo-39452: [doc] Change "must" to "can" on relative import style in `__main__` (GH-29379)
Diffstat (limited to 'Doc/library/__main__.rst')
-rw-r--r-- | Doc/library/__main__.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/__main__.rst b/Doc/library/__main__.rst index 116a9a9..d92266e 100644 --- a/Doc/library/__main__.rst +++ b/Doc/library/__main__.rst @@ -231,7 +231,7 @@ students:: print(f'Found student: {search_students(student_name)}') Note that ``from .student import search_students`` is an example of a relative -import. This import style must be used when referencing modules within a +import. This import style can be used when referencing modules within a package. For more details, see :ref:`intra-package-references` in the :ref:`tut-modules` section of the tutorial. |