From d793b8fa31ab99ae9dd4bf89b9422530469d4901 Mon Sep 17 00:00:00 2001 From: Daniil Yarancev <21169548+Yardanico@users.noreply.github.com> Date: Wed, 13 Dec 2017 13:52:44 +0300 Subject: [PATCH] Updated Nim for Python Programmers (markdown) --- Nim-for-Python-Programmers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nim-for-Python-Programmers.md b/Nim-for-Python-Programmers.md index a48c878..d70bcd4 100644 --- a/Nim-for-Python-Programmers.md +++ b/Nim-for-Python-Programmers.md @@ -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 ```