From 86e4f0582ccfba4c285d26a716b8c1b00660d956 Mon Sep 17 00:00:00 2001 From: "chr v1.x" Date: Tue, 16 Jul 2019 18:20:25 -0700 Subject: [PATCH] Typos --- Nim-for-Python-Programmers.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Nim-for-Python-Programmers.md b/Nim-for-Python-Programmers.md index ba44be1..b1f9cd7 100644 --- a/Nim-for-Python-Programmers.md +++ b/Nim-for-Python-Programmers.md @@ -169,7 +169,6 @@ a[0..<2] # returns @[1, 2] a[0..3] # returns @[1, 2, 3, 4] ``` - ### Python strings Use double quotes: "foo" or """foo""", not 'foo' @@ -194,7 +193,7 @@ echo a[0] # hi proc swap(tup: tuple[a: int, b: float]): tuple[c: float, d: int] = (tup.b, tup.a) -echo swap((1, 3.14) # (c: 3.14, d:1) +echo swap((1, 3.14)) # (c: 3.14, d:1) let c, d = swap(8, 4.2) ```