Fix Python version checking in Python tests
Fix vararg documentation for Python 3

Memory handling is different to Python 2.
Documentation sectioning update