[Jython-checkins] jython: [trivial] Made org.python.compiler.Code#return_ public like all other
jim.baker
jython-checkins at python.org
Wed Jun 26 02:26:31 CEST 2013
http://hg.python.org/jython/rev/7eb5574d023d
changeset: 7111:7eb5574d023d
user: Jim Baker <jim.baker at rackspace.com>
date: Tue Jun 25 18:26:38 2013 -0600
summary:
[trivial] Made org.python.compiler.Code#return_ public like all other
instruction-emitting methods in this class. Enables outside classes
(including those written in Python) to use Jython to write Java
bytecode.
files:
src/org/python/compiler/Code.java | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/org/python/compiler/Code.java b/src/org/python/compiler/Code.java
--- a/src/org/python/compiler/Code.java
+++ b/src/org/python/compiler/Code.java
@@ -572,7 +572,7 @@
mv.visitVarInsn(RET, index);
}
- void return_() {
+ public void return_() {
mv.visitInsn(RETURN);
}
--
Repository URL: http://hg.python.org/jython
More information about the Jython-checkins
mailing list