Using str.splitlines() which is more appropiate than str.split('\n')
Updated README.rst