summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorJjp137 <Jjp137@users.noreply.github.com>2020-07-26 23:17:23 -0700
committerGitHub <noreply@github.com>2020-07-27 08:17:23 +0200
commita62bc5595598d6cc0f1e4edf1458fdbbda025572 (patch)
tree53fb93f2308e04f7d7e45356b01049c3a5f31469 /lib/pure
parenta0049d1fb0c997053ffafe8e53e8be6f611c4695 (diff)
downloadNim-a62bc5595598d6cc0f1e4edf1458fdbbda025572.tar.gz
parsecsv: fix '\0' being displayed as '0' in docs (#15086) [backport]
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/parsecsv.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/parsecsv.nim b/lib/pure/parsecsv.nim
index 44703e3f8..607702fc0 100644
--- a/lib/pure/parsecsv.nim
+++ b/lib/pure/parsecsv.nim
@@ -108,10 +108,10 @@ proc open*(my: var CsvParser, input: Stream, filename: string,
   ## the diverse optional parameters:
   ## - `separator`: character used to separate fields
   ## - `quote`: Used to quote fields containing special characters like
-  ##   `separator`, `quote` or new-line characters. '\0' disables the parsing
+  ##   `separator`, `quote` or new-line characters. '\\0' disables the parsing
   ##   of quotes.
   ## - `escape`: removes any special meaning from the following character;
-  ##   '\0' disables escaping; if escaping is disabled and `quote` is not '\0',
+  ##   '\\0' disables escaping; if escaping is disabled and `quote` is not '\\0',
   ##   two `quote` characters are parsed one literal `quote` character.
   ## - `skipInitialSpace`: If true, whitespace immediately following the
   ##   `separator` is ignored.