From efa7d51ee63edefcadb5576184475deab5b363a3 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 20 Sep 2007 16:45:27 +0000 Subject: [PATCH] #1176: document that string methods don't take keyword args. --- Doc/library/stdtypes.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.50.0