]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
correct typo; document sys.platform
authorGuido van Rossum <guido@python.org>
Fri, 7 Jul 1995 23:00:35 +0000 (23:00 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 7 Jul 1995 23:00:35 +0000 (23:00 +0000)
Doc/lib/libsys.tex
Doc/libsys.tex

index 88990524e610fbfd5d9a2097aae34e415bcd284f..ff5d65e9f5b4f4676249f517972ff2b040f53807 100644 (file)
@@ -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
index 88990524e610fbfd5d9a2097aae34e415bcd284f..ff5d65e9f5b4f4676249f517972ff2b040f53807 100644 (file)
@@ -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