| LEFT | RIGHT |
| 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 Loading... |
| 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 } |
| LEFT | RIGHT |