[bindings] Make sample Python 2/3 compatible
1 file changed