fixed for Python 3

Without those parentheses, `make doc` will fail with Python 3