Skip to content

Commit a38e4ed

Browse files
committed
Fix example.
1 parent f3419c2 commit a38e4ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/userguide.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Save the following code in a file named `hello_jpype.py`:
165165
166166
# Use the Java String class
167167
java_string = String("Hello from Java!")
168-
print(java_string.toUpperCase()) # Output: Hello from Java!
168+
print(java_string.toUpperCase()) # Output: HELLO FROM JAVA!
169169
170170
171171
Run the script using Python::
@@ -174,7 +174,7 @@ Run the script using Python::
174174

175175
You should see the output::
176176

177-
Hello from Java!
177+
HELLO FROM JAVA!
178178

179179

180180
.. _introduction_next_steps:

0 commit comments

Comments
 (0)