From 08d7c88cae495ac8904be2367eb0d223e16ac8e8 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Fri, 7 Aug 2020 09:52:11 -0500 Subject: Fix invalid reference to MissingKeyError --- config_file/config_file.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config_file/config_file.py b/config_file/config_file.py index d66cc48..2ce61ef 100644 --- a/config_file/config_file.py +++ b/config_file/config_file.py @@ -69,6 +69,7 @@ class ConfigFile: The value of the key. Raises: + KeyError: If a key is attempted to be retrieved that does not exist. ValueError: If the value is not able to be coerced into return_type. """ try: @@ -110,7 +111,7 @@ class ConfigFile: key: The section, sub-section, or key to delete. Raises: - MissingKeyError: If a key is attempted to be deleted that + KeyError: If a key is attempted to be deleted that does not exist. """ self.__parser.delete(key) -- cgit v1.2.3