aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/__init__.py
diff options
context:
space:
mode:
authorGravatar Patrick Nguyen <drpng@google.com>2017-03-04 15:04:11 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-04 15:37:50 -0800
commit955f038afbeb81302cea43058078e68574000bce (patch)
tree82d3ff550b49a7e6aa7e0195623994eab1525633 /tensorflow/__init__.py
parent01c7a251bcc5e226c913a9d35c219f161873abef (diff)
Remove extra exported symbols.
Change: 149211889
Diffstat (limited to 'tensorflow/__init__.py')
-rw-r--r--tensorflow/__init__.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tensorflow/__init__.py b/tensorflow/__init__.py
index 92d390a976..0bca6f8fb8 100644
--- a/tensorflow/__init__.py
+++ b/tensorflow/__init__.py
@@ -37,3 +37,16 @@ class _LazyContribLoader(object):
contrib = _LazyContribLoader()
+
+del absolute_import
+del division
+del print_function
+
+# These symbols appear because we import the python package which
+# in turn imports from tensorflow.core and tensorflow.python. They
+# must come from this module. So python adds these symbols for the
+# resolution to succeed.
+# pylint: disable=undefined-variable
+del python
+del core
+# pylint: enable=undefined-variable