]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39452: [doc] Change "must" to "can" on relative import style in `__main__` (GH...
authorAndre Delfino <adelfino@gmail.com>
Sat, 6 Nov 2021 18:09:23 +0000 (15:09 -0300)
committerGitHub <noreply@github.com>
Sat, 6 Nov 2021 18:09:23 +0000 (19:09 +0100)
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.