From 6705709bb02ff581d4c7f45a16eda143d5b2b7ab Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Thu, 24 Nov 2016 05:28:39 -0800 Subject: Documentation: defining how existing directories are handled by recursive_create_dir. Change: 140127945 --- tensorflow/python/lib/io/file_io.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tensorflow/python/lib/io/file_io.py b/tensorflow/python/lib/io/file_io.py index 2653219c5a..d3b06188ea 100644 --- a/tensorflow/python/lib/io/file_io.py +++ b/tensorflow/python/lib/io/file_io.py @@ -287,7 +287,9 @@ def create_dir(dirname): def recursive_create_dir(dirname): - """Create a directory and all parent/intermediate directories. + """Creates a directory and all parent/intermediate directories. + + It succeeds if dirname already exists and is writable. Args: dirname: string, name of the directory to be created -- cgit v1.2.3