Przeglądaj źródła

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.
tags/v0.6
Yuri Astrakhan 4 lat temu
committed by GitHub
rodzic
commit
e66a2db0ed
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      mwparserfromhell/nodes/__init__.py

+ 2
- 2
mwparserfromhell/nodes/__init__.py Wyświetl plik

@@ -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.


Ładowanie…
Anuluj
Zapisz