We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f739b4a commit b7d7a1bCopy full SHA for b7d7a1b
1 file changed
src/main/java/org/scijava/plugins/scripting/jython/JythonScriptLanguage.java
@@ -52,7 +52,7 @@
52
* @author Mark Hiner
53
* @see ScriptEngine
54
*/
55
-@Plugin(type = ScriptLanguage.class, name = "Python")
+@Plugin(type = ScriptLanguage.class, name = "Jython")
56
public class JythonScriptLanguage extends AdaptedScriptLanguage {
57
58
@Parameter
@@ -78,7 +78,7 @@ public Object decode(final Object object) {
78
return ((PyString) object).getString();
79
}
80
if (object instanceof PyObject) {
81
- // Unwrap Python objects when they wrap Java ones.
+ // Unwrap Jython objects when they wrap Java ones.
82
final PyObject pyObj = (PyObject) object;
83
final Class<?> javaType = pyObj.getType().getProxyType();
84
if (javaType != null) return pyObj.__tojava__(javaType);
0 commit comments