diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2020-08-06 09:47:35 -0500 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2020-08-06 09:47:35 -0500 |
| commit | 836cefe45633331d0e5692295174bf3181a5e365 (patch) | |
| tree | 8602b312e67cc591f33022f56221ca7434cfe33f /config_file/abstract_parser.py | |
| parent | Update README example to remove MissingKeyError (diff) | |
| download | config-file-836cefe45633331d0e5692295174bf3181a5e365.zip | |
Change MissingKeyErrors to KeyError
Diffstat (limited to 'config_file/abstract_parser.py')
| -rw-r--r-- | config_file/abstract_parser.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config_file/abstract_parser.py b/config_file/abstract_parser.py index ab5d205..689fece 100644 --- a/config_file/abstract_parser.py +++ b/config_file/abstract_parser.py @@ -57,7 +57,7 @@ class AbstractParser(ABC): Whatever value the given key happens to contain. Raises: - MissingKeyError: If the key to retrieve does not exist. + KeyError: If the key to retrieve does not exist. """ raise NotImplementedError @@ -81,7 +81,7 @@ class AbstractParser(ABC): key: The key we would like to remove. Raises: - MissingKeyError: If the key to remove does not exist. + KeyError: If the key to remove does not exist. """ raise NotImplementedError |