It looks like you forgot to indent the second line.

Also this list is for discussions regarding the development of Jython. For questions about using Jython, please use the list.

On Mon, Apr 14, 2008 at 9:17 AM, srinivasan <> wrote:

When i try to execute the following small program, i'm getting an error

>>> def fac(x):
... if x <= 1: return 1
Traceback (innermost last):
  (no code object) at line 0
  File "<console>", line 2
        if x <= 1: return 1

Can you help me to resolve



This email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.;198757673;13503038;p?
Jython-dev mailing list