From 049032432c47f9036e2e4cc4830320947939c706 Mon Sep 17 00:00:00 2001 From: Artem V L Date: Tue, 22 Oct 2019 18:20:25 +0200 Subject: [PATCH] Docstring refined for the getSectionValue() (#12478) [backport] --- lib/pure/parsecfg.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/parsecfg.nim b/lib/pure/parsecfg.nim index 4fd5647f67..49684a5e93 100644 --- a/lib/pure/parsecfg.nim +++ b/lib/pure/parsecfg.nim @@ -561,7 +561,7 @@ proc writeConfig*(dict: Config, filename: string) = dict.writeConfig(fileStream) proc getSectionValue*(dict: Config, section, key: string): string = - ## Gets the Key value of the specified Section. + ## Gets the Key value of the specified Section, returns an empty string if the key does not exist. if dict.hasKey(section): if dict[section].hasKey(key): result = dict[section][key]