Updated Nim for Python Programmers (markdown)

This commit is contained in:
Daniil Yarancev 2017-12-13 13:52:44 +03:00
parent a80bd17487
commit d793b8fa31
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ var is_happy = if has_cat(): "quite" else: "not much"
### Reading files line by line
``` Nim
for line in lines "yourfile.txt":
for line in lines("yourfile.txt"):
echo line
```