diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-09-18 21:14:55 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-09-18 21:14:55 (GMT) |
commit | 332d7217509443c01ba5c3da41053786b49015fa (patch) | |
tree | cf45b0faef4cd93224f5c13d309c1844d2ebe356 /Doc | |
parent | 2985dbb52613f97b982987f980c765781c00e657 (diff) | |
download | cpython-332d7217509443c01ba5c3da41053786b49015fa.zip cpython-332d7217509443c01ba5c3da41053786b49015fa.tar.gz cpython-332d7217509443c01ba5c3da41053786b49015fa.tar.bz2 |
add keyword arguments support to str/unicode encode and decode #6300
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/stdtypes.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 93ed710..d2dfd11 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -815,8 +815,8 @@ String Methods .. index:: pair: string; methods -Below are listed the string methods which both 8-bit strings and Unicode objects -support. Note that none of these methods take keyword arguments. +Below are listed the string methods which both 8-bit strings and +Unicode objects support. In addition, Python's strings support the sequence type methods described in the :ref:`typesseq` section. To output formatted strings @@ -861,6 +861,8 @@ string functions based on regular expressions. .. versionchanged:: 2.3 Support for other error handling schemes added. + .. versionchanged:: 2.7 + Support for keyword arguments added. .. method:: str.encode([encoding[,errors]]) @@ -879,6 +881,8 @@ string functions based on regular expressions. Support for ``'xmlcharrefreplace'`` and ``'backslashreplace'`` and other error handling schemes added. + .. versionchanged:: 2.7 + Support for keyword arguments added. .. method:: str.endswith(suffix[, start[, end]]) |