Skip to content

Commit ad972ea

Browse files
PallHaraldssonstevengj
authored andcommitted
README was outdated, fixed to not misinform (#581)
* README is outdated, now misinforms * Update README.md
1 parent 0e3f2ac commit ad972ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ accessed with `o[:attribute]` rather than `o.attribute`, so that `o.method(...)`
155155
Python is replaced by `o[:method](...)` in Julia. Also, you use
156156
`get(o, key)` rather than `o[key]`. (However, you can access integer
157157
indices via `o[i]` as in Python, albeit with 1-based Julian indices rather
158-
than 0-based Python indices.) (This is because Julia does not
159-
permit overloading the `.` operator yet.) See also the section on
158+
than 0-based Python indices.) (This will be changed to `o.method` once Julia
159+
0.6 support is dropped, now that Julia supports `.` overloading.) See also the section on
160160
`PyObject` below, as well as the `pywrap` function to create anonymous
161161
modules that simulate `.` access (this is what `@pyimport` does). For
162162
example, using [Biopython](http://biopython.org/wiki/Seq) we can do:

0 commit comments

Comments
 (0)