fix name of python namedtuple
This commit is contained in:
parent
f6b5033f6e
commit
07ecdf6080
|
@ -155,7 +155,7 @@ A [very detailed comparison](https://scripter.co/notes/string-functions-nim-vs-p
|
||||||
|
|
||||||
### Python tuples
|
### Python tuples
|
||||||
|
|
||||||
Nim Tuples are close to Python nametuples, see [manual](http://nim-lang.org/docs/manual.html#types-tuples-and-object-types).
|
Nim Tuples are close to Python namedtuples, see [manual](http://nim-lang.org/docs/manual.html#types-tuples-and-object-types).
|
||||||
Use Nim arrays:
|
Use Nim arrays:
|
||||||
``` Nim
|
``` Nim
|
||||||
var a = ["hi", "there"]
|
var a = ["hi", "there"]
|
||||||
|
|
Loading…
Reference in New Issue