summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-10-13 15:57:55 (GMT)
committerFred Drake <fdrake@acm.org>2001-10-13 15:57:55 (GMT)
commit2bae4face24ac270520ca88f763886d1dca5a705 (patch)
tree04f48ef9bc677b85611d80200b4ed71b05fe4cbd
parentdc5790932335cebb5a9baa03b46e52e06d4bb24a (diff)
downloadcpython-2bae4face24ac270520ca88f763886d1dca5a705.zip
cpython-2bae4face24ac270520ca88f763886d1dca5a705.tar.gz
cpython-2bae4face24ac270520ca88f763886d1dca5a705.tar.bz2
Remove extra "]" in splitlines() docstring.
Reported by Neal Norwitz.
-rw-r--r--Objects/stringobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringobject.c b/Objects/stringobject.c
index 8fab6a9..aea31ac 100644
--- a/Objects/stringobject.c
+++ b/Objects/stringobject.c
@@ -2538,7 +2538,7 @@ string_istitle(PyStringObject *self, PyObject *uncased)
static char splitlines__doc__[] =
-"S.splitlines([keepends]]) -> list of strings\n\
+"S.splitlines([keepends]) -> list of strings\n\
\n\
Return a list of the lines in S, breaking at line boundaries.\n\
Line breaks are not included in the resulting list unless keepends\n\