summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/modules.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/tutorial/modules.rst')
-rw-r--r--Doc/tutorial/modules.rst10
1 files changed, 1 insertions, 9 deletions
diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index fbe931e..6e45f64 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -218,8 +218,6 @@ Some tips for experts:
* The module :mod:`compileall` can create :file:`.pyc` files (or :file:`.pyo`
files when :option:`-O` is used) for all modules in a directory.
- .. %
-
.. _tut-standardmodules:
@@ -238,11 +236,7 @@ depends on the underlying platform For example, the :mod:`winreg` module is only
provided on Windows systems. One particular module deserves some attention:
:mod:`sys`, which is built into every Python interpreter. The variables
``sys.ps1`` and ``sys.ps2`` define the strings used as primary and secondary
-prompts:
-
-.. %
-
-::
+prompts::
>>> import sys
>>> sys.ps1
@@ -451,8 +445,6 @@ filename! On these platforms, there is no guaranteed way to know whether a file
file names with a capitalized first letter.) The DOS 8+3 filename restriction
adds another interesting problem for long module names.
-.. % The \code{__all__} Attribute
-
The only solution is for the package author to provide an explicit index of the
package. The import statement uses the following convention: if a package's
:file:`__init__.py` code defines a list named ``__all__``, it is taken to be the