]> granicus.if.org Git - python/commit
Fix markup used in the documentation of sys.prefix and sys.exec_prefix.
authorÉric Araujo <merwok@netwok.org>
Wed, 5 Oct 2011 00:34:28 +0000 (02:34 +0200)
committerÉric Araujo <merwok@netwok.org>
Wed, 5 Oct 2011 00:34:28 +0000 (02:34 +0200)
commit2e4a2b6434ed340cdbf987cf98a2b46fe4d04650
tree94895d7cfaf98b8102d3d08efc58c09a954ec855
parent656b04ecf6b6c7eaac194b2bc8ca3c797f1f5df4
Fix markup used in the documentation of sys.prefix and sys.exec_prefix.

- Using the file role with {placeholders} is IMO clearer than fake
Python code.

- The fact that sys.version[:3] gives '2.7' is a CPython detail and
should not be advertised (see #9442), even if some stdlib modules
currently rely on that detail.
Doc/library/sys.rst