Skip to content
Snippets Groups Projects
Unverified Commit 696d868d authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

gh-87304: Improve comments in language reference for imports (GH-92164)


(cherry picked from commit ee2205b2)

Co-authored-by: default avatarRobert Yang <35813883+robert861212@users.noreply.github.com>
parent 4ede7810
No related branches found
No related tags found
No related merge requests found
......@@ -795,9 +795,9 @@ The :keyword:`from` form uses a slightly more complex process:
Examples::
import foo # foo imported and bound locally
import foo.bar.baz # foo.bar.baz imported, foo bound locally
import foo.bar.baz as fbb # foo.bar.baz imported and bound as fbb
from foo.bar import baz # foo.bar.baz imported and bound as baz
import foo.bar.baz # foo, foo.bar, and foo.bar.baz imported, foo bound locally
import foo.bar.baz as fbb # foo, foo.bar, and foo.bar.baz imported, foo.bar.baz bound as fbb
from foo.bar import baz # foo, foo.bar, and foo.bar.baz imported, foo.bar.baz bound as baz
from foo import attr # foo imported and foo.attr bound as attr
.. index:: single: * (asterisk); import statement
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment