提交 32885e90 authored 作者: Chinnadhurai Sankar's avatar Chinnadhurai Sankar

fix indentation

上级 7443cc89
......@@ -1484,13 +1484,13 @@ def _rmtree(parent, ignore_nocleanup=False, msg='', level=logging.DEBUG,
Paramters
----------
parent
Root node to start deleting from
Root node to start deleting from
ignore_nocleanup
Delete the tree if flag is TRUE
Delete the tree if flag is TRUE
level
Python Logging level. Set to "DEBUG" by default
Python Logging level. Set to "DEBUG" by default
ignore_if_missing
If set to True, just return without any issue if parent is NULL
If set to True, just return without any issue if parent is NULL
"""
if ignore_if_missing and not os.path.exists(parent):
return
......
......@@ -702,14 +702,14 @@ def inputs(variable_list, blockers=None):
def variables_and_orphans(i, o):
"""
Extracts list of variables within input and
output nodes ( via dfs travesal) and chooses the orphans among them
output nodes via dfs travesal and chooses the orphans among them
Parameters
-----------
i : list
Input L{Variable}s.
Input variables.
o : list
Output L{Variable}s.
Output variables.
"""
def expand(r):
......@@ -724,21 +724,21 @@ def variables_and_orphans(i, o):
def ops(i, o):
"""
WRITEME
Set of Ops contained within the subgraph between i and o
Parameters
----------
i : list
Input L{Variable}s.
Input variables.
o : list
Output L{Variable}s.
Output variables.
Returns
-------
object
The set of ops that are contained within the subgraph that lies
between i and o, including the owners of the L{Variable}s in o and
intermediary ops between i and o, but not the owners of the L{Variable}s
between i and o, including the owners of the variables in o and
intermediary ops between i and o, but not the owners of the variables
in i.
"""
......@@ -753,7 +753,7 @@ def ops(i, o):
def variables(i, o):
"""
Extracts list of variables within input and output nodes ( via dfs t ravesal)
Extracts list of variables within input and output nodes via dfs travesal
Parameters
----------
......@@ -775,7 +775,8 @@ def variables(i, o):
def orphans(i, o):
"""
Extracts list of variables within input and output nodes ( via dfs t ravesal) and returns the "orphans" among them
Extracts list of variables within input and output nodes
via dfs travesal and returns the orphans among them
Parameters
----------
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论