浏览代码

Added hint message for chain rule.

Taddeus Kroes 14 年之前
父节点
当前提交
fe3485a857
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/rules/derivatives.py

+ 3 - 0
src/rules/derivatives.py

@@ -47,6 +47,9 @@ def chain_rule(root, args):
     return f_deriv(root, f_deriv_args) * der(g, x)
 
 
+MESSAGES[chain_rule] = _('Apply the chain rule to {0}.')
+
+
 def match_zero_derivative(node):
     """
     der(x, y)  ->  0