Skip to content

Commit 57457a1

Browse files
bpo-39452: [doc] Change "must" to "can" on relative import style in __main__ (GH-29379)
1 parent 77a2c77 commit 57457a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/__main__.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ students::
231231
print(f'Found student: {search_students(student_name)}')
232232

233233
Note that ``from .student import search_students`` is an example of a relative
234-
import. This import style must be used when referencing modules within a
234+
import. This import style can be used when referencing modules within a
235235
package. For more details, see :ref:`intra-package-references` in the
236236
:ref:`tut-modules` section of the tutorial.
237237

0 commit comments

Comments
 (0)