aboutsummaryrefslogtreecommitdiffstats
path: root/config_file/parsers/abstract_parser.py
diff options
context:
space:
mode:
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