<p dir="ltr">On May 24, 2013 9:02 PM, "Carlos Nepomuceno" <<a href="mailto:carlosnepomuceno@outlook.com">carlosnepomuceno@outlook.com</a>> wrote:<br>
><br>
> I'd like to have the option to download the source code as text/plain from the <a href="http://docs.python.org">docs.python.org</a> pages.<br>
><br>
> For example: when I'm a docs page, such as:<br>
><br>
> <a href="http://docs.python.org/2/library/string.html">http://docs.python.org/2/library/string.html</a><br>
><br>
> and I click the source code link I'm taken to a Mercurial page:<br>
><br>
> <a href="http://hg.python.org/cpython/file/2.7/Lib/string.py">http://hg.python.org/cpython/file/2.7/Lib/string.py</a><br>
><br>
> but over there there's no way to get a clean text/plain version of the code because the line numbers are included.<br>
><br>
> A link to the text/plain version on that page would be nice!</p>
<p dir="ltr">It's already there. Click the "raw" link in the sidebar. In this case, at this moment, it sends you to <br>
<a href="http://hg.python.org/cpython/raw-file/f4981d8eb401/Lib/string.py">http://hg.python.org/cpython/raw-file/f4981d8eb401/Lib/string.py</a></p>