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)
评论列表
文章目录