summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-05-09 12:33:53 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-05-09 12:33:53 (GMT)
commit955382ca54427944f737b31d5f525ebbbf862d94 (patch)
tree11b3c3891d72e95799e674aa2677d6abe84fe88c /Doc
parentce82d57c7480c7360539c9e606d0b2f620e0c181 (diff)
downloadcpython-955382ca54427944f737b31d5f525ebbbf862d94.zip
cpython-955382ca54427944f737b31d5f525ebbbf862d94.tar.gz
cpython-955382ca54427944f737b31d5f525ebbbf862d94.tar.bz2
#17938: remove duplicate paragraphs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/reference/simple_stmts.rst16
1 files changed, 0 insertions, 16 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 81dc748..b9ebaaa 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -737,22 +737,6 @@ in the module's namespace which do not begin with an underscore character
to avoid accidentally exporting items that are not part of the API (such as
library modules which were imported and used within the module).
-The :keyword:`from` form with ``*`` may only occur in a module scope.
-Attempting to use it in class or function definitions will raise a
-:exc:`SyntaxError`.
-
-.. index:: single: __all__ (optional module attribute)
-
-The *public names* defined by a module are determined by checking the module's
-namespace for a variable named ``__all__``; if defined, it must be a sequence
-of strings which are names defined or imported by that module. The names
-given in ``__all__`` are all considered public and are required to exist. If
-``__all__`` is not defined, the set of public names includes all names found
-in the module's namespace which do not begin with an underscore character
-(``'_'``). ``__all__`` should contain the entire public API. It is intended
-to avoid accidentally exporting items that are not part of the API (such as
-library modules which were imported and used within the module).
-
The :keyword:`from` form with ``*`` may only occur in a module scope. The wild
card form of import --- ``import *`` --- is only allowed at the module level.
Attempting to use it in class or function definitions will raise a