fixed issue with renamed buildins in Python 3