aboutsummaryrefslogtreecommitdiffstats
path: root/config_file/parsers/abstract_parser.py
diff options
context:
space:
mode:
authorEugene Triguba <eugenetriguba@gmail.com>2020-12-21 22:31:42 -0600
committerEugene Triguba <eugenetriguba@gmail.com>2023-11-05 15:31:22 -0500
commit3f874d1ba218a82ac354af748be73bbbf6e0d985 (patch)
tree132cf9a69e7e4f725ad9366424791e24b0ea7a84 /config_file/parsers/abstract_parser.py
parentFix readme badge (diff)
downloadconfig-file-3f874d1ba218a82ac354af748be73bbbf6e0d985.zip
Remove depreciated stringify() method
Diffstat (limited to 'config_file/parsers/abstract_parser.py')
-rw-r--r--config_file/parsers/abstract_parser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/config_file/parsers/abstract_parser.py b/config_file/parsers/abstract_parser.py
index 460b238..40983b2 100644
--- a/config_file/parsers/abstract_parser.py
+++ b/config_file/parsers/abstract_parser.py
@@ -99,8 +99,9 @@ class AbstractParser(ABC):
raise NotImplementedError
@abstractmethod
- def stringify(self) -> str:
- """Stringify the working file.
+ def __str__(self) -> str:
+ """
+ Stringify the working file.
Since the ConfigFile does not write out to disk
after every operation, this method is what is