From e53cb9811f97ded5a20872fe0f3486bc7f8f1b6e Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sat, 6 Nov 2021 11:50:00 -0700 Subject: bpo-39452: [doc] Change "must" to "can" on relative import style in `__main__` (GH-29379) (GH-29449) (cherry picked from commit 57457a1e5caf714034a75fe4f382b8b669ce6ed8) Co-authored-by: Andre Delfino --- Doc/library/__main__.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/__main__.rst b/Doc/library/__main__.rst index 116a9a9..d92266e 100644 --- a/Doc/library/__main__.rst +++ b/Doc/library/__main__.rst @@ -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. -- cgit v0.12