Add new python docs
Use the right macro. Fixes #2648
Merge branch 'v1.13.x' into next