Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3098)

Delta Between Two Patch Sets: src/org/python/core/PyUnicodeDerived.java

Issue 2854: Coercion fix (Closed) Base URL: https://jython.svn.sourceforge.net/svnroot/jython/branches/asm
Left Patch Set: Fixed two regression introduced by the previous patch Created 16 years, 8 months ago
Right Patch Set: Updated to r5129 -- seems like rietveld is not happy with outdated patches Created 16 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/org/python/core/PyTypeDerived.java ('k') | src/org/python/modules/_csv/PyDialectDerived.java » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* Generated file, do not modify. See jython/src/templates/gderived.py. */ 1 /* Generated file, do not modify. See jython/src/templates/gderived.py. */
2 package org.python.core; 2 package org.python.core;
3 3
4 public class PyUnicodeDerived extends PyUnicode implements Slotted { 4 public class PyUnicodeDerived extends PyUnicode implements Slotted {
5 5
6 public PyObject getSlot(int index) { 6 public PyObject getSlot(int index) {
7 return slots[index]; 7 return slots[index];
8 } 8 }
9 9
10 public void setSlot(int index,PyObject value) { 10 public void setSlot(int index,PyObject value) {
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 if (res==null||res==Py.None) 1119 if (res==null||res==Py.None)
1120 return res; 1120 return res;
1121 if (!(res instanceof PyTuple)) 1121 if (!(res instanceof PyTuple))
1122 throw Py.TypeError("coercion should return None or 2-tuple"); 1122 throw Py.TypeError("coercion should return None or 2-tuple");
1123 return((PyTuple)res).getArray(); 1123 return((PyTuple)res).getArray();
1124 } 1124 }
1125 return super.__coerce_ex__(o); 1125 return super.__coerce_ex__(o);
1126 } 1126 }
1127 1127
1128 } 1128 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b