From bb2cb79674c688b1bcd87060d605e7cced55a5a8 Mon Sep 17 00:00:00 2001 From: hcheng761 Date: Tue, 12 Dec 2017 14:55:26 -0600 Subject: [PATCH] added comment --- python/common/org/python/types/Str.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/common/org/python/types/Str.java b/python/common/org/python/types/Str.java index 6ae6695c22..f2b27fe832 100644 --- a/python/common/org/python/types/Str.java +++ b/python/common/org/python/types/Str.java @@ -1404,7 +1404,7 @@ public org.python.Object rsplit(org.python.Object sep, org.python.Object maxspli count++; } } - if (maxsplit != null && java.lang.Integer.parseInt(maxsplit.toString()) >= 0) { + if (maxsplit != null && java.lang.Integer.parseInt(maxsplit.toString()) >= 0) { //check for positive maxsplit number = java.lang.Integer.parseInt(maxsplit.toString()); } else { number = count;