add comments for _extends\graph_kernel\utils.py

branch-yixin
yixin 7 months ago
parent e5d2d82400
commit ffeb853318

@ -19,6 +19,19 @@ GRAPH_KERNEL_DUMP_PATH = "graph_kernel_dump"
def create_dir(pathname):
"""
尝试创建目录
Args:
pathname (str): 要创建的目录的路径
Returns:
None
Raises:
不显式抛出异常
"""
"""Try to create directory"""
if os.path.exists(pathname):
return

Loading…
Cancel
Save