Added documentation to Python snipped.
Merge branches 'tmp' and 'master'