I copied the following example from Python 3.6.1 Documentation, Chapter 9.10 into Jupyter Notebook (Python version 3.6.1):
xvec = [10, 20, 30]
yvec = [7, 5, 3]
sum(x*y for x,y in zip(xvec, yvec)) # dot product
While the official documentation says that it would print 260, I got the following error in Notebook:
----> 4 sum(x*y for x,y in zip(xvec, yvec))
TypeError: 'int' object is not callable
This is definitely not just a question on 'int object is not callable', but more on the palpable error in what is considered to be the gospel for Python.