Port rev. 56767f.

This commit is contained in:
Georg Brandl
2007-08-06 16:29:32 +00:00
parent 79f1a1eecb
commit 338fa90190
4 changed files with 34 additions and 17 deletions

View File

@@ -8,10 +8,15 @@
.. index:: module: re
The :mod:`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 :mod:`re` for string functions based on regular
expressions.
The :mod:`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. In addition, Python's built-in string
classes support the sequence type methods described in the
:ref:`typesseq` section, and also the string-specific methods described
in the :ref:`string-methods` section. To output formatted strings use
template strings or the ``%`` operator described in the
:ref:`typesseq-strings` section. Also, see the :mod:`re` module for
string functions based on regular expressions.
String constants