Jython: corrected example