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

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

Issue 2888: __findattr__ refactor (Closed) SVN Base: https://jython.svn.sourceforge.net/svnroot/jython/branches/asm
Left Patch Set: Created 1 year, 3 months ago
Right Patch Set: This is the actually commited patch (on r5155), in case you have more comments Created 1 year, 3 months ago
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
LEFTRIGHT
1 // Copyright (c) Corporation for National Research Initiatives 1 // Copyright (c) Corporation for National Research Initiatives
2 package org.python.core; 2 package org.python.core;
3 3
4 import java.io.Serializable; 4 import java.io.Serializable;
5 import java.util.ArrayList; 5 import java.util.ArrayList;
6 import java.util.List; 6 import java.util.List;
7 7
8 /** 8 /**
9 * A python class. 9 * A python class.
10 */ 10 */
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 int n = bases.length; 361 int n = bases.length;
362 for (int i = 0; i < n; i++) { 362 for (int i = 0; i < n; i++) {
363 PyClass c = (PyClass) bases[i]; 363 PyClass c = (PyClass) bases[i];
364 if (c.isSubClass(superclass)) { 364 if (c.isSubClass(superclass)) {
365 return true; 365 return true;
366 } 366 }
367 } 367 }
368 return false; 368 return false;
369 } 369 }
370 } 370 }
LEFTRIGHT

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