Skip to content

Commit

Permalink
Merge pull request jpype-project#1171 from pelson/docs/typos
Browse files Browse the repository at this point in the history
Minor typos in the user guide
  • Loading branch information
marscher authored Feb 13, 2024
2 parents b603ff6 + 288acd2 commit df64941
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/userguide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ you can use the casting operators.
print(type(d)) # prints double[]
Great. Now you just need to figure out how to convert from a Java array into
our something our visualization code can deal with. As nothing indicates that
something our visualization code can deal with. As nothing indicates that
you need to convert the array, you just copy out of the visualization tool
example and watch what happens.

Expand All @@ -189,7 +189,7 @@ Laboratory. (For the purpose of this exercise we will ignore the fact that
Hawkins was shut down in 1984 and Java was created in 1995). You have the test
subject strapped in and you just need to start the experiment. So you pull up
Jupyter notebook your boss gave you and run through the cells. You need to
added some heart wave monitor to the list of graphed results.
add some heart wave monitor to the list of graphed results.

The relevant section of the API for the Experiment appears to be

Expand Down Expand Up @@ -268,7 +268,7 @@ in a window. Job well done, so you set the runtime back to one hour. Looks
like you still have time to make the intern woodlands hike and forest picnic.
Though you wonder if maybe next year you should sign up for another laboratory.
Maybe next year, you will try to sign up for those orbital lasers the President
was talking about in the March. That sounds like real fun.
was talking about back in March. That sounds like real fun.
(This advanced demonstration utilized the concept of Proxies_ and
`Code completion`_)
Expand Down Expand Up @@ -330,7 +330,7 @@ in Python. However, the Java Virtual Machine (JVM) is used for many popular
languages such a Kotlin and Scala. As such JPype can be used for any language
which used the JVM.
That said each language has its own special properties that tend to be
That said, each language has its own special properties that tend to be
represented in different ways. If you would like JPype fully to operate on your
particular language the following is required.
Expand Down Expand Up @@ -382,7 +382,7 @@ costs to share data structures between Java and Python and potentially much
higher level of integration. Noted downsides of Jython are that it has lagged
well behind the state of the art in Python; it has a limited selection of
modules that can be used; and the Python object thrashing is not particularly
well fit in Java virtual machine leading to some known performance issues.
well suited for the Java virtual machine, leading to some known performance issues.
`Py4J <https://py4j.org/>`_
---------------------------
Expand Down

0 comments on commit df64941

Please sign in to comment.