Source code as text/plain

Carlos Nepomuceno carlosnepomuceno at outlook.com
Fri May 24 23:59:52 EDT 2013


I'd like to have the option to download the source code as text/plain from the docs.python.org pages.

For example: when I'm a docs page, such as:

http://docs.python.org/2/library/string.html

and I click the source code link I'm taken to a Mercurial page:

http://hg.python.org/cpython/file/2.7/Lib/string.py

but over there there's no way to get a clean text/plain version of the code because the line numbers are included.

A link to the text/plain version on that page would be nice! 		 	   		  


More information about the Python-list mailing list