From e66a2db0ed2710a7ec9a6ae9708183befa4da5de Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Sun, 29 Dec 2019 22:39:06 -0500 Subject: [PATCH] add missing public items to __all__ Added a few more public classes, and sorted the __all__ value. The Attribute and Parameter classes are not included as they can be imported from the `mwparserfromhell.nodes.extras` without linter complaining. They could be added to this __all__ too. --- mwparserfromhell/nodes/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mwparserfromhell/nodes/__init__.py b/mwparserfromhell/nodes/__init__.py index 9418199..1e38254 100644 --- a/mwparserfromhell/nodes/__init__.py +++ b/mwparserfromhell/nodes/__init__.py @@ -34,8 +34,8 @@ from __future__ import unicode_literals from ..compat import str from ..string_mixin import StringMixIn -__all__ = ["Node", "Text", "Argument", "Heading", "HTMLEntity", "Tag", - "Template"] +__all__ = ["Argument", "Comment", "ExternalLink", "HTMLEntity", "Heading", + "Node", "Tag", "Template", "Text", "Wikilink"] class Node(StringMixIn): """Represents the base Node type, demonstrating the methods to override.