Commit 08b07def authored by Barry Warsaw's avatar Barry Warsaw

Ah whoops, we didn't turn string into a package (thanks Neal!)

parent 8bee7610
...@@ -4,22 +4,11 @@ ...@@ -4,22 +4,11 @@
\declaremodule{standard}{string} \declaremodule{standard}{string}
\modulesynopsis{Common string operations.} \modulesynopsis{Common string operations.}
The \module{string} package contains a number of useful constants and classes, The \module{string} module contains a number of useful constants and classes,
as well as some deprecated legacy functions that are also available as methods as well as some deprecated legacy functions that are also available as methods
on strings. See the module \refmodule{re}\refstmodindex{re} for string on strings. See the module \refmodule{re}\refstmodindex{re} for string
functions based on regular expressions. functions based on regular expressions.
In general, all of these objects are exposed directly in the \module{string}
package so users need only import the \module{string} package to begin using
these constants, classes, and functions.
\begin{notice}
Starting with Python 2.4, the traditional \module{string} module was turned
into a package, however backward compatibility with existing code has been
retained. Code using the \module{string} module that worked prior to Python
2.4 should continue to work unchanged.
\end{notice}
\subsection{String constants} \subsection{String constants}
The constants defined in this module are: The constants defined in this module are:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment