提交 9b9a7c6b authored 作者: Chinnadhurai Sankar's avatar Chinnadhurai Sankar

fix indentation

上级 a6600709
...@@ -124,7 +124,7 @@ class Bookkeeper(Feature): ...@@ -124,7 +124,7 @@ class Bookkeeper(Feature):
self.on_import(fgraph, node, "on_attach") self.on_import(fgraph, node, "on_attach")
def on_detach(self, fgraph): def on_detach(self, fgraph):
""" """
Should remove any dynamically added functionality Should remove any dynamically added functionality
that it installed into the function_graph that it installed into the function_graph
""" """
...@@ -188,7 +188,7 @@ class History(Feature): ...@@ -188,7 +188,7 @@ class History(Feature):
fgraph.revert = partial(self.revert, fgraph) fgraph.revert = partial(self.revert, fgraph)
def on_detach(self, fgraph): def on_detach(self, fgraph):
""" """
Should remove any dynamically added functionality Should remove any dynamically added functionality
that it installed into the function_graph that it installed into the function_graph
""" """
...@@ -245,7 +245,7 @@ class Validator(Feature): ...@@ -245,7 +245,7 @@ class Validator(Feature):
del fgraph.consistent del fgraph.consistent
def validate_(self, fgraph): def validate_(self, fgraph):
""" """
If the caller is replace_all_validate, just raise the If the caller is replace_all_validate, just raise the
exception. replace_all_validate will print out the exception. replace_all_validate will print out the
verbose output. Or it has to be done here before raise. verbose output. Or it has to be done here before raise.
...@@ -312,7 +312,7 @@ class ReplaceValidate(History, Validator): ...@@ -312,7 +312,7 @@ class ReplaceValidate(History, Validator):
self.replace_all_validate_remove, fgraph) self.replace_all_validate_remove, fgraph)
def on_detach(self, fgraph): def on_detach(self, fgraph):
""" """
Should remove any dynamically added functionality Should remove any dynamically added functionality
that it installed into the function_graph that it installed into the function_graph
""" """
...@@ -439,7 +439,7 @@ class NodeFinder(Bookkeeper): ...@@ -439,7 +439,7 @@ class NodeFinder(Bookkeeper):
Bookkeeper.on_attach(self, fgraph) Bookkeeper.on_attach(self, fgraph)
def on_detach(self, fgraph): def on_detach(self, fgraph):
""" """
Should remove any dynamically added functionality Should remove any dynamically added functionality
that it installed into the function_graph that it installed into the function_graph
""" """
...@@ -492,7 +492,7 @@ class PrintListener(Feature): ...@@ -492,7 +492,7 @@ class PrintListener(Feature):
print("-- attaching to: ", fgraph) print("-- attaching to: ", fgraph)
def on_detach(self, fgraph): def on_detach(self, fgraph):
""" """
Should remove any dynamically added functionality Should remove any dynamically added functionality
that it installed into the function_graph that it installed into the function_graph
""" """
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论