浏览代码

maint: define `pywebio.output.__all__`

wangweimin 5 年之前
父节点
当前提交
0e0063b826
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      pywebio/output.py

+ 4 - 0
pywebio/output.py

@@ -45,6 +45,10 @@ try:
 except ImportError:
 except ImportError:
     PILImage = type('MockPILImage', (), dict(__init__=None))
     PILImage = type('MockPILImage', (), dict(__init__=None))
 
 
+__all__ = ['TOP', 'MIDDLE', 'BOTTOM', 'set_title', 'set_output_fixed_height', 'set_auto_scroll_bottom', 'set_anchor',
+           'clear_before', 'clear_after', 'clear_range', 'remove', 'scroll_to', 'put_text', 'put_html',
+           'put_code', 'put_markdown', 'put_table', 'table_cell_buttons', 'put_buttons', 'put_image', 'put_file']
+
 TOP = 'top'
 TOP = 'top'
 MIDDLE = 'middle'
 MIDDLE = 'middle'
 BOTTOM = 'bottom'
 BOTTOM = 'bottom'