Skip to content

Commit 96d555e

Browse files
Patrick Nguyengunan
Patrick Nguyen
authored andcommitted
Remove extra exported symbols.
Change: 149211889
1 parent 2990e81 commit 96d555e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tensorflow/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,16 @@ def __getattr__(self, item):
3737

3838

3939
contrib = _LazyContribLoader()
40+
41+
del absolute_import
42+
del division
43+
del print_function
44+
45+
# These symbols appear because we import the python package which
46+
# in turn imports from tensorflow.core and tensorflow.python. They
47+
# must come from this module. So python adds these symbols for the
48+
# resolution to succeed.
49+
# pylint: disable=undefined-variable
50+
del python
51+
del core
52+
# pylint: enable=undefined-variable

0 commit comments

Comments
 (0)