vnpy/trader/vtText.py

10 lines
207 B
Python
Raw Normal View History

2017-04-28 14:10:07 +00:00
# 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)