diff options
author | Adam Bard <github@adambard.com> | 2013-12-16 11:30:17 -0800 |
---|---|---|
committer | Adam Bard <github@adambard.com> | 2013-12-16 11:30:17 -0800 |
commit | 4bf5bbc2a3baa351b0e987c7a6ed7338ebea1f21 (patch) | |
tree | 454c85bf82367c5f484a1f83e5c71abe1c1bdaa6 | |
parent | 6f194db75559eef10ee84e691a5bfdc3914e2ad5 (diff) | |
parent | b32d26240c5c4c51c7df6b219c656fd11a862410 (diff) |
Merge pull request #451 from adrianlzt/fix/wrong_index_in_tupla
Trying to set a value in index 0. Is confusing
-rw-r--r-- | julia.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/julia.html.markdown b/julia.html.markdown index d1e17a26..4869e207 100644 --- a/julia.html.markdown +++ b/julia.html.markdown @@ -210,7 +210,7 @@ length(a) #=> 8 tup = (1, 2, 3) #=> (1,2,3) # an (Int64,Int64,Int64) tuple. tup[1] #=> 1 try: - tup[0] = 3 #=> ERROR: no method setindex!((Int64,Int64,Int64),Int64,Int64) + tup[1] = 3 #=> ERROR: no method setindex!((Int64,Int64,Int64),Int64,Int64) catch e println(e) end |