#7775: fixed docstring for rpartition
diff --git a/Objects/bytearrayobject.c b/Objects/bytearrayobject.c
index fdeec4c..9d1ef99 100644
--- a/Objects/bytearrayobject.c
+++ b/Objects/bytearrayobject.c
@@ -2112,7 +2112,7 @@
 }
 
 PyDoc_STRVAR(rpartition__doc__,
-"B.rpartition(sep) -> (tail, sep, head)\n\
+"B.rpartition(sep) -> (head, sep, tail)\n\
 \n\
 Searches for the separator sep in B, starting at the end of B,\n\
 and returns the part before it, the separator itself, and the\n\