Parcourir la source

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 il y a 4 ans
committed by GitHub
Parent
révision
e66a2db0ed
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      mwparserfromhell/nodes/__init__.py

+ 2
- 2
mwparserfromhell/nodes/__init__.py Voir le fichier

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


Chargement…
Annuler
Enregistrer