File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -211,20 +211,20 @@ def top_margin(self, value):
211211 self ._sectPr .top_margin = value
212212
213213
214- class _Footer (BlockItemContainer ):
215- """Page footer. """
214+ class _BaseHeaderFooter (BlockItemContainer ):
215+ """Base class for header and footer classes """
216216
217217 def __init__ (self , sectPr , document_part ):
218218 self ._sectPr = sectPr
219219 self ._document_part = document_part
220220
221221
222- class _Header ( BlockItemContainer ):
223- """Page header ."""
222+ class _Footer ( _BaseHeaderFooter ):
223+ """Page footer ."""
224224
225- def __init__ ( self , sectPr , document_part ):
226- self . _sectPr = sectPr
227- self . _document_part = document_part
225+
226+ class _Header ( _BaseHeaderFooter ):
227+ """Page header."""
228228
229229 @property
230230 def is_linked_to_previous (self ):
You can’t perform that action at this time.
0 commit comments