Global.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:ANNarchy 作者: vitay 项目源码 文件源码
def _warning(*var_text):
    """
    Prints a warning message to standard out.
    """
    text = 'WARNING: '
    for var in var_text:
        text += str(var) + ' '
    if not config['suppress_warnings']:
        print(text)
    #     # Print the trace
    #     tb = traceback.format_stack()
    #     for line in tb:
    #         if not '/ANNarchy/core/' in line and \
    #            not '/ANNarchy/parser/' in line and \
    #            not '/ANNarchy/generator/' in line :
    #             print(line)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号