You can delete the name del list
In [9]: list = []
In [10]: list()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-10-8b11f83c3293> in <module>()
----> 1 list()
TypeError: 'list' object is not callable
In [11]: del list
In [12]: list()
Out[12]: []
Or list = builtins.list
for python3:
In [10]: import builtins
In [11]: list = []
In [12]: list()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-12-8b11f83c3293> in <module>()
----> 1 list()
TypeError: 'list' object is not callable
In [13]: list = builtins.list
In [14]: list()
Out[14]: []
For python 2:
In [1]: import __builtin__
In [2]: list = []
In [3]: list()
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-8b11f83c3293> in <module>()
----> 1 list()
TypeError: 'list' object is not callable
In [4]: list = __builtin__.list
In [5]: list()
Out[5]: []