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.rst13
1 files changed, 1 insertions, 12 deletions
diff --git a/Doc/tutorial/modules.rst b/Doc/tutorial/modules.rst
index 2a14b35..279afc8 100644
--- a/Doc/tutorial/modules.rst
+++ b/Doc/tutorial/modules.rst
@@ -223,11 +223,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.
-* If using Python in a parallel processing system with a shared file system,
- you need to patch Python to disable the creation of the compiled files
- because otherwise the multiple Python interpreters will encounter race
- conditions in creating them.
-
.. _tut-standardmodules:
@@ -246,11 +241,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
@@ -455,8 +446,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