Improve Python3 compatibility a bit in the generator code
c: Fix wrong markup in inline documentation