Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hwrdch committed Dec 12, 2017
1 parent ef9b964 commit bb2cb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/common/org/python/types/Str.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bb2cb79

Please sign in to comment.