Added doc snippet for Python