]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39452: [doc] Change "must" to "can" on relative import style in `__main__` (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 6 Nov 2021 18:50:00 +0000 (11:50 -0700)
committerGitHub <noreply@github.com>
Sat, 6 Nov 2021 18:50:00 +0000 (19:50 +0100)
(cherry picked from commit 57457a1e5caf714034a75fe4f382b8b669ce6ed8)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
Doc/library/__main__.rst

index 116a9a9d1d729f141d58ac189c60ee0d7abf7eaf..d92266e43b9612af722a79a4e08e3a9e896d333e 100644 (file)
@@ -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.