Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
0c8414e9
Commit
0c8414e9
authored
Sep 03, 2010
by
Florent Xicluna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo
parent
edf5f0dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/reference/simple_stmts.rst
Doc/reference/simple_stmts.rst
+1
-1
No files found.
Doc/reference/simple_stmts.rst
View file @
0c8414e9
...
...
@@ -823,7 +823,7 @@ leading dot means the current package where the module making the import
exists
.
Two
dots
means
up
one
package
level
.
Three
dots
is
up
two
levels
,
etc
.
So
if
you
execute
``
from
.
import
mod
``
from
a
module
in
the
``
pkg
``
package
then
you
will
end
up
importing
``
pkg
.
mod
``.
If
you
execute
``
from
..
subpkg2
imprt
mod
``
from
within
``
pkg
.
subpkg1
``
you
will
import
``
pkg
.
subpkg2
.
mod
``.
imp
o
rt
mod
``
from
within
``
pkg
.
subpkg1
``
you
will
import
``
pkg
.
subpkg2
.
mod
``.
The
specification
for
relative
imports
is
contained
within
:
pep
:`
328
`.
:
func
:`
importlib
.
import_module
`
is
provided
to
support
applications
that
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment