aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/docs
diff options
context:
space:
mode:
authorGravatar Mark Daoust <markdaoust@google.com>2018-06-20 10:27:00 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-06-20 10:29:22 -0700
commit856adff285f4fb271baee5603fdb623f1e32e744 (patch)
tree5dc694e99d57ac8d077a5cd46c53392fa4230648 /tensorflow/tools/docs
parent60f965adb6c0393fe6d2ce4b990af6ffa58c0852 (diff)
Hide py3 names we don't need to document.
PiperOrigin-RevId: 201374225
Diffstat (limited to 'tensorflow/tools/docs')
-rw-r--r--tensorflow/tools/docs/parser.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/tools/docs/parser.py b/tensorflow/tools/docs/parser.py
index 64e02589bb..ffb93027ed 100644
--- a/tensorflow/tools/docs/parser.py
+++ b/tensorflow/tools/docs/parser.py
@@ -1166,7 +1166,7 @@ class _ClassPageInfo(object):
if short_name in [
'__class__', '__base__', '__weakref__', '__doc__', '__module__',
'__dict__', '__abstractmethods__', '__slots__', '__getnewargs__',
- '__str__', '__repr__', '__hash__'
+ '__str__', '__repr__', '__hash__', '__reduce__'
]:
continue
@@ -1370,7 +1370,8 @@ class _ModulePageInfo(object):
for name in member_names:
if name in ['__builtins__', '__doc__', '__file__',
- '__name__', '__path__', '__package__']:
+ '__name__', '__path__', '__package__',
+ '__cached__', '__loader__', '__spec__']:
continue
member_full_name = self.full_name + '.' + name if self.full_name else name