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 org.python.expose.ExposedGet; | 4 import org.python.expose.ExposedGet; |
5 import org.python.expose.ExposedMethod; | 5 import org.python.expose.ExposedMethod; |
6 import org.python.expose.ExposedNew; | 6 import org.python.expose.ExposedNew; |
7 import org.python.expose.ExposedType; | 7 import org.python.expose.ExposedType; |
8 import org.python.expose.MethodType; | 8 import org.python.expose.MethodType; |
9 | 9 |
10 /** | 10 /** |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 funcName = im_func.__findattr__("__name__"); | 209 funcName = im_func.__findattr__("__name__"); |
210 } catch (PyException pye) { | 210 } catch (PyException pye) { |
211 // continue | 211 // continue |
212 } | 212 } |
213 if (funcName == null) { | 213 if (funcName == null) { |
214 return "?"; | 214 return "?"; |
215 } | 215 } |
216 return funcName.toString(); | 216 return funcName.toString(); |
217 } | 217 } |
218 } | 218 } |
LEFT | RIGHT |