Update README.rst

Fixed type and thanks to @pydanny for the snippet