From 2430b011145d5af4eb34f79c1ad7f793f07eeba3 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Sun, 2 Feb 2020 16:01:46 -0600 Subject: Add sphinx-quickstart --- config_file/parsers/ini_parser.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config_file/parsers/ini_parser.py') diff --git a/config_file/parsers/ini_parser.py b/config_file/parsers/ini_parser.py index 93f239c..ba44c64 100644 --- a/config_file/parsers/ini_parser.py +++ b/config_file/parsers/ini_parser.py @@ -61,10 +61,12 @@ class IniParser(BaseParser): to it. :param section_key: The key to set from the config file. e.g. 'section1.key' + :param value: The value to set the key to. It can be any type that can be converted to a string. :return: True if the setting was successful. + :raises ValueError: If there is no dot (.) in section_key """ section, key = split_on_dot(section_key, only_last_dot=True) @@ -87,7 +89,6 @@ class IniParser(BaseParser): to delete the entire section. :return: True if the deletion succeeded. - :rtype: boolean :raise ValueError: If the section or key does not exist in the config file. """ -- cgit v1.2.3