vnpy/vnpy/trader/vtText.py
2017-05-15 10:36:07 +08:00

10 lines
219 B
Python

# encoding: UTF-8
from vnpy.trader.language import text
# 将常量定义添加到vtText.py的局部字典中
d = locals()
for name in dir(text):
if '__' not in name:
d[name] = text.__getattribute__(name)