master
Complete the Python 2 removal and fix issues found reviewing it
[Python] Fix lack of generation of docstrings when -O is used. Also, fix generation of docstrings containing a double quote character. Patch from Richard Boulton in bug#1700146.
Modify examples to be both Python 2 and 3 compatible