moinformat/serialisers/common.py | raw changeset files shortlog |
1.1 --- a/moinformat/serialisers/common.py Tue Dec 12 18:17:08 2017 +0100 1.2 +++ b/moinformat/serialisers/common.py Tue Dec 12 21:02:01 2017 +0100 1.3 @@ -25,6 +25,13 @@ 1.4 1.5 def __init__(self, out): 1.6 self.out = out 1.7 + self.init() 1.8 + 1.9 + def init(self): 1.10 + 1.11 + "Initialisation method to be overridden by subclasses." 1.12 + 1.13 + pass 1.14 1.15 def escape_attr(s): 1.16