Skip to content

Commit bd7f89c

Browse files
authored
print is a function in Python 3
Thanks @cclaus
1 parent c7ccaed commit bd7f89c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

demo/demo_nogui_with_stmt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
import javabridge
1616

1717
with javabridge.vm(run_headless=True):
18-
print javabridge.run_script('java.lang.String.format("Hello, %s!", greetee);',
19-
dict(greetee='world'))
18+
print(javabridge.run_script('java.lang.String.format("Hello, %s!", greetee);',
19+
dict(greetee='world')))

0 commit comments

Comments
 (0)