浏览代码

Merge pull request #225 from nyurik/patch-2

add missing public items to __all__
tags/v0.6
Ben Kurtovic 4 年前
committed by GitHub
父节点
当前提交
416c7f6b78
找不到此签名对应的密钥 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.


正在加载...
取消
保存