bpo-39452: [doc] Change "must" to "can" on relative import style in `__main__` (GH-29379) (GH-29449)

(cherry picked from commit 57457a1e5c)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-11-06 11:50:00 -07:00 committed by GitHub
parent 494f8da741
commit e53cb9811f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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.