summaryrefslogtreecommitdiffstats
path: root/Doc/library/stdtypes.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-18 21:42:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-09-18 21:42:35 (GMT)
commit308d637c94b9ed88c386b83891ad38b2131ebd12 (patch)
treeda0e7c3d9999e3c0a3dbc02fb4be7fbffba5ed7e /Doc/library/stdtypes.rst
parent7a4e5866f70ccbb76dae6e0139f5ddba8bc5761a (diff)
downloadcpython-308d637c94b9ed88c386b83891ad38b2131ebd12.zip
cpython-308d637c94b9ed88c386b83891ad38b2131ebd12.tar.gz
cpython-308d637c94b9ed88c386b83891ad38b2131ebd12.tar.bz2
Merged revisions 74929 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74929 | benjamin.peterson | 2009-09-18 16:14:55 -0500 (Fri, 18 Sep 2009) | 1 line add keyword arguments support to str/unicode encode and decode #6300 ........
Diffstat (limited to 'Doc/library/stdtypes.rst')
-rw-r--r--Doc/library/stdtypes.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index c9e7287..a11c2d3 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -788,11 +788,10 @@ String Methods
.. index:: pair: string; methods
-String objects support the methods listed below. Note that none of these
-methods take keyword arguments.
+String objects support the methods listed below.
-In addition, Python's strings support the sequence type methods described in
-the :ref:`typesseq` section. To output formatted strings, see the
+In addition, Python's strings support the sequence type methods described in the
+:ref:`typesseq` section. To output formatted strings, see the
:ref:`string-formatting` section. Also, see the :mod:`re` module for string
functions based on regular expressions.
@@ -825,6 +824,8 @@ functions based on regular expressions.
:func:`codecs.register_error`, see section :ref:`codec-base-classes`. For a
list of possible encodings, see section :ref:`standard-encodings`.
+ .. versionchanged:: 3.1
+ Added support for keyword arguments added.
.. method:: str.endswith(suffix[, start[, end]])
@@ -1539,6 +1540,9 @@ Wherever one of these methods needs to interpret the bytes as characters
:func:`codecs.register_error`, see section :ref:`codec-base-classes`. For a
list of possible encodings, see section :ref:`standard-encodings`.
+ .. versionchanged:: 3.1
+ Added support for keyword arguments.
+
The bytes and bytearray types have an additional class method: