mirror of
https://github.com/python/cpython
synced 2024-09-15 23:26:29 +00:00
bpo-39452: [doc] Change "must" to "can" on relative import style in __main__
(GH-29379)
This commit is contained in:
parent
77a2c77c84
commit
57457a1e5c
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue