From: Georg Brandl Date: Thu, 20 Sep 2007 16:45:27 +0000 (+0000) Subject: #1176: document that string methods don't take keyword args. X-Git-Tag: v2.6a1~1259 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efa7d51ee63edefcadb5576184475deab5b363a3;p=python #1176: document that string methods don't take keyword args. --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index c2c274d198..b509e2e292 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