summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-07-07 23:00:35 (GMT)
committerGuido van Rossum <guido@python.org>1995-07-07 23:00:35 (GMT)
commit6b686e94a1b752efaa471266047d6fdc2d12a5d9 (patch)
treefefd9f3129faa225b89b6835a4cf148d1a25b34a
parentfb502e964f3b04338020ef66d6cd59d52ad8317a (diff)
downloadcpython-6b686e94a1b752efaa471266047d6fdc2d12a5d9.zip
cpython-6b686e94a1b752efaa471266047d6fdc2d12a5d9.tar.gz
cpython-6b686e94a1b752efaa471266047d6fdc2d12a5d9.tar.bz2
correct typo; document sys.platform
-rw-r--r--Doc/lib/libsys.tex7
-rw-r--r--Doc/libsys.tex7
2 files changed, 12 insertions, 2 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index 8899052..ff5d65e 100644
--- a/Doc/lib/libsys.tex
+++ b/Doc/lib/libsys.tex
@@ -52,7 +52,7 @@ It is always available.
This value is not actually defined by the module, but can be set by
the user (or by a program) to specify a clean-up action at program
exit. When set, it should be a parameterless function. This function
- will be called when the interpreter exits in any way (except not when a
+ will be called when the interpreter exits in any way (except when a
fatal error occurs: in that case the interpreter's internal state
cannot be trusted).
\end{datadesc}
@@ -81,6 +81,11 @@ It is always available.
installation-dependent default.
\end{datadesc}
+\begin{datadesc}{platform}
+This string contains a platform identifier. This can be used to
+append platform-specific components to \code{sys.path}, for instance.
+\end{datadesc}
+
\begin{datadesc}{ps1}
\dataline{ps2}
Strings specifying the primary and secondary prompt of the
diff --git a/Doc/libsys.tex b/Doc/libsys.tex
index 8899052..ff5d65e 100644
--- a/Doc/libsys.tex
+++ b/Doc/libsys.tex
@@ -52,7 +52,7 @@ It is always available.
This value is not actually defined by the module, but can be set by
the user (or by a program) to specify a clean-up action at program
exit. When set, it should be a parameterless function. This function
- will be called when the interpreter exits in any way (except not when a
+ will be called when the interpreter exits in any way (except when a
fatal error occurs: in that case the interpreter's internal state
cannot be trusted).
\end{datadesc}
@@ -81,6 +81,11 @@ It is always available.
installation-dependent default.
\end{datadesc}
+\begin{datadesc}{platform}
+This string contains a platform identifier. This can be used to
+append platform-specific components to \code{sys.path}, for instance.
+\end{datadesc}
+
\begin{datadesc}{ps1}
\dataline{ps2}
Strings specifying the primary and secondary prompt of the