[Jython-checkins] jython: OMG we forgot the R in RPartition :).

frank.wierzbicki jython-checkins at python.org
Tue Apr 10 20:38:08 CEST 2012


http://hg.python.org/jython/rev/c8b6eeb51a2a
changeset:   6554:c8b6eeb51a2a
parent:      6551:c831e3426eec
user:        Frank Wierzbicki <fwierzbicki at gmail.com>
date:        Tue Apr 10 11:35:28 2012 -0700
summary:
  OMG we forgot the R in RPartition :).

files:
  src/org/python/core/PyString.java |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/org/python/core/PyString.java b/src/org/python/core/PyString.java
--- a/src/org/python/core/PyString.java
+++ b/src/org/python/core/PyString.java
@@ -1275,7 +1275,7 @@
         String sep;
 
         if (sepObj instanceof PyUnicode) {
-            return unicodePartition(sepObj);
+            return unicodeRpartition(sepObj);
         } else if (sepObj instanceof PyString) {
             sep = ((PyString) sepObj).getString();
         } else {

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list