aboutsummaryrefslogtreecommitdiffstats
path: root/config_file/abstract_parser.py
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-08-16 21:35:56 -0500
committerEugene Triguba <eugenetriguba@gmail.com>2020-08-16 21:35:56 -0500
commit2d091dcc5b1250b2c9457f0ff34c0c997a6a0867 (patch)
tree7d0bbde5193b4a298f3510cfda9cd48d6bca597a /config_file/abstract_parser.py
parentRemove sphinx dev dependencies (diff)
downloadconfig-file-2d091dcc5b1250b2c9457f0ff34c0c997a6a0867.zip
Refactor parsers to enforce loads/dumps/decode_error requirement
Diffstat (limited to 'config_file/abstract_parser.py')
-rw-r--r--config_file/abstract_parser.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/config_file/abstract_parser.py b/config_file/abstract_parser.py
index 689fece..dcc2b0f 100644
--- a/config_file/abstract_parser.py
+++ b/config_file/abstract_parser.py
@@ -3,7 +3,8 @@ from typing import Any
class AbstractParser(ABC):
- """Abstract Parser is the API contract for all parsers.
+ """Abstract Parser is the API contract for a parser for
+ use in the ConfigFile object.
Every parser in ConfigFile implements this parser, and
any user created parsers must implement this parser in
@@ -18,9 +19,6 @@ class AbstractParser(ABC):
Args:
file_contents: The stringified version of a file.
-
- Attributes:
- file_contents: The stringified version of a file.
"""
@abstractmethod