提交 f8b8e98f authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fix doc to match the code.

上级 fa8efdb0
...@@ -117,7 +117,7 @@ class Apply(Node): ...@@ -117,7 +117,7 @@ class Apply(Node):
raise TypeError("The 'outputs' argument to Apply must contain Variable instances with no owner, not %s" % output) raise TypeError("The 'outputs' argument to Apply must contain Variable instances with no owner, not %s" % output)
def run_context(self): def run_context(self):
"""Returns the context for the node, or None if no context is set. """Returns the context for the node, or NoContext if no context is set.
""" """
if hasattr(self.op, 'get_context'): if hasattr(self.op, 'get_context'):
return self.op.get_context(self) return self.op.get_context(self)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论