summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-20 16:45:27 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-20 16:45:27 (GMT)
commitefa7d51ee63edefcadb5576184475deab5b363a3 (patch)
tree42601629a51bf892f2ca999509244b15da4acd11 /Doc
parentaff85e2d26db4bedbfe620b282eafb78ff6b6653 (diff)
downloadcpython-efa7d51ee63edefcadb5576184475deab5b363a3.zip
cpython-efa7d51ee63edefcadb5576184475deab5b363a3.tar.gz
cpython-efa7d51ee63edefcadb5576184475deab5b363a3.tar.bz2
#1176: document that string methods don't take keyword args.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index c2c274d..b509e2e 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -660,7 +660,9 @@ String Methods
.. index:: pair: string; methods
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
+support. Note that none of these methods take keyword arguments.
+
+In addition, Python's strings support the sequence type methods
described in the :ref:`typesseq` section. To output formatted strings
use template strings or the ``%`` operator described in the
:ref:`string-formatting` section. Also, see the :mod:`re` module for