vnpy/trader/vtText.py
2017-06-11 20:55:26 +08:00

10 lines
207 B
Python

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