ソースを参照

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年前
committed by GitHub
コミット
e66a2db0ed
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      mwparserfromhell/nodes/__init__.py

+ 2
- 2
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.


読み込み中…
キャンセル
保存