Skip to content

Commit ea4492f

Browse files
committed
Fix wording
1 parent 15ec596 commit ea4492f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ which can be used in a customized setup.
6565

6666
### High-level interface
6767

68-
To call a Julia function in Julia module, import the Julia module (say
69-
`Base`) by:
68+
To call a Julia function in a Julia module, import the Julia module
69+
(say `Base`) with:
7070

7171
```python
7272
from julia import Base
@@ -99,17 +99,18 @@ You can set names in this module to send Python values to Julia:
9999
Main.xs = [1, 2, 3]
100100
```
101101

102-
so that, e.g., it can be evaluated at Julia side using Julia syntax:
102+
which allows it to be accessed directly from Julia code, e.g., it can
103+
be evaluated at Julia side using Julia syntax:
103104

104105
```python
105106
Main.eval("sin.(xs)")
106107
```
107108

108109
### Low-level interface
109110

110-
If you need a custom setup for `pyjulia`, it must be done *before* any
111-
imports of Julia modules. For example, to use Julia interpreter at
112-
`PATH/TO/MY/CUSTOM/julia`, run:
111+
If you need a custom setup for `pyjulia`, it must be done *before*
112+
importing any Julia modules. For example, to use the Julia
113+
interpreter at `PATH/TO/MY/CUSTOM/julia`, run:
113114

114115
```python
115116
from julia import Julia

0 commit comments

Comments
 (0)