提交 56317685 authored 作者: Frederic Bastien's avatar Frederic Bastien

Update method docstring

上级 5c4a4536
...@@ -219,16 +219,11 @@ class FunctionGraph(utils.object2): ...@@ -219,16 +219,11 @@ class FunctionGraph(utils.object2):
def disown(self): def disown(self):
""" """
WRITEME
Cleans up all of this FunctionGraph's nodes and variables so they are Cleans up all of this FunctionGraph's nodes and variables so they are
not associated with this FunctionGraph anymore. not associated with this FunctionGraph anymore.
The FunctionGraph should not be used anymore after disown is called. The FunctionGraph should not be used anymore after disown is called.
This may not clean everything this FunctionGraph's features set in the
nodes and variables. If there are no features, this should set
them back to what they were originally.
""" """
for f in self._features: for f in self._features:
self.remove_feature(f) self.remove_feature(f)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论