Skip to content

Commit

Permalink
Update old quickstart.rst example from Py2 to Py3 (#711)
Browse files Browse the repository at this point in the history
* Update quickstart.rst

minimum sample's forgot bracket fix

* Update quickstart.rst

removed Not necessary space in  print function
  • Loading branch information
Suletta-Majo authored Feb 9, 2024
1 parent dce5ce0 commit 25c60a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ A minimal PyJNIus example looks something like this::
stack.push('hello')
stack.push('world')

print stack.pop() # --> 'world'
print stack.pop() # --> 'hello'
print(stack.pop()) # --> 'world'
print(stack.pop()) # --> 'hello'

Just save it as `test.py` (or something similar) and run it with your Python
interpreter. Make sure not to call your application `jnius.py` because it would
Expand Down

0 comments on commit 25c60a3

Please sign in to comment.