def undoReverse(a):
tmp = None
if type(a) == ast.Lt:
tmp = ast.Gt()
elif type(a) == ast.LtE:
tmp = ast.GtE()
elif type(a) == ast.Gt:
tmp = ast.Lt()
elif type(a) == ast.GtE:
tmp = ast.LtE()
else:
return a
transferMetaData(a, tmp)
return tmp
# Applies special functions if they're included as metadata OR if they're specified by ID
评论列表
文章目录