Skip to content

Commit

Permalink
Move invocation of foo() into a function so it's closer to what I'm s…
Browse files Browse the repository at this point in the history
…imulating.
  • Loading branch information
Nicholas Riley committed Jul 15, 2009
1 parent 55d66c0 commit 03e043d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion invokedynamic/sample.py
Expand Up @@ -6,7 +6,10 @@
def foo(a):
return a + 1

foo(5)
def bar():
foo(5)

bar()

from org.python.compiler import Sample

Expand Down

0 comments on commit 03e043d

Please sign in to comment.