vnpy/docker/dockerTrader/vtText.py

10 lines
207 B
Python
Raw Normal View History

# 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)