]> granicus.if.org Git - python/commitdiff
Remove extra "]" in splitlines() docstring.
authorFred Drake <fdrake@acm.org>
Sat, 13 Oct 2001 15:57:55 +0000 (15:57 +0000)
committerFred Drake <fdrake@acm.org>
Sat, 13 Oct 2001 15:57:55 +0000 (15:57 +0000)
Reported by Neal Norwitz.

Objects/stringobject.c

index 8fab6a9e2515fbbb88ba808c3295175677e04332..aea31aca6b1a0f6d59b4781b9abe5feda7a0487d 100644 (file)
@@ -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\