From 421453ee0c7471af40bbaf254ecf91d6a3a320cf Mon Sep 17 00:00:00 2001 From: jma <18jeffreyma@gmail.com> Date: Wed, 23 Sep 2020 11:36:47 -0700 Subject: [PATCH] updated docstring --- tensorflow/python/lib/io/file_io.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow/python/lib/io/file_io.py b/tensorflow/python/lib/io/file_io.py index fb4e19da902..a4c9b613068 100644 --- a/tensorflow/python/lib/io/file_io.py +++ b/tensorflow/python/lib/io/file_io.py @@ -347,6 +347,7 @@ def get_matching_files(filename): Raises: * errors.OpError: If there are filesystem / directory listing errors. + * errors.NotFoundError: If pattern to be matched is an invalid directory. """ return get_matching_files_v2(filename) @@ -401,6 +402,7 @@ def get_matching_files_v2(pattern): Raises: errors.OpError: If there are filesystem / directory listing errors. + errors.NotFoundError: If pattern to be matched is an invalid directory. """ if isinstance(pattern, six.string_types): return [