From ff2e043f00df0dfde9c5a8bf185c033e32e50aab Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 3 Oct 2003 00:08:30 +0000 Subject: [PATCH] Added docstring for rsplit. --- src/fix.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fix.py b/src/fix.py index 989d3c470..f3232bfcd 100644 --- a/src/fix.py +++ b/src/fix.py @@ -122,6 +122,7 @@ def all(p, seq): return True def rsplit(s, sep=None, maxsplit=-1): + """Equivalent to str.split, except splitting from the right.""" if sep is not None: sep = sep[::-1] L = s[::-1].split(sep, maxsplit)