mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
Ah whoops, we didn't turn string into a package (thanks Neal!)
This commit is contained in:
parent
8bee76106e
commit
08b07def43
1 changed files with 1 additions and 12 deletions
|
|
@ -4,22 +4,11 @@
|
|||
\declaremodule{standard}{string}
|
||||
\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
|
||||
on strings. See the module \refmodule{re}\refstmodindex{re} for string
|
||||
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}
|
||||
|
||||
The constants defined in this module are:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue