diff options
author | Éric Araujo <merwok@netwok.org> | 2012-03-05 14:50:37 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2012-03-05 14:50:37 (GMT) |
commit | fdfaf0aba2fe8cc8e985d64bdd929b16a1c37690 (patch) | |
tree | b1cf9e1c8057056c866ad6a3cd28c6981585f956 /Doc/howto/cporting.rst | |
parent | d3899e320fa4c10166c5eb7dc7996d15dd541f46 (diff) | |
download | cpython-fdfaf0aba2fe8cc8e985d64bdd929b16a1c37690.zip cpython-fdfaf0aba2fe8cc8e985d64bdd929b16a1c37690.tar.gz cpython-fdfaf0aba2fe8cc8e985d64bdd929b16a1c37690.tar.bz2 |
Use source reST role instead of file where it makes sense.
source generates a nifty link to the Mercurial web viewer.
Diffstat (limited to 'Doc/howto/cporting.rst')
-rw-r--r-- | Doc/howto/cporting.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/cporting.rst b/Doc/howto/cporting.rst index 98db9dd..bea2153 100644 --- a/Doc/howto/cporting.rst +++ b/Doc/howto/cporting.rst @@ -261,8 +261,8 @@ behave slightly differently from real Capsules. Specifically: copy as you see fit.) You can find :file:`capsulethunk.h` in the Python source distribution -in the :file:`Doc/includes` directory. We also include it here for -your reference; here is :file:`capsulethunk.h`: +as :source:`Doc/includes/capsulethunk.h`. We also include it here for +your convenience: .. literalinclude:: ../includes/capsulethunk.h |