Skip to content

Commit

Permalink
Initialize children in Document.__init__() (#209)
Browse files Browse the repository at this point in the history
* Initialize children in Document.__init__()

* Remove redundant call to super().__init__()
  • Loading branch information
apetresc authored Oct 15, 2024
1 parent 21445dd commit 99c223c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marko/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Document(BlockElement):
virtual = True

def __init__(self) -> None:
super().__init__()
self.children = []
self.link_ref_defs: dict[str, tuple[str, str]] = {}


Expand Down

0 comments on commit 99c223c

Please sign in to comment.