Python2-3 support in examples