__all__ = ['x'] x = [] if x is []: print('same object') del x from __main__ import *