summaryrefslogtreecommitdiffstats
path: root/Doc/texinputs
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-03-26 19:14:41 (GMT)
committerFred Drake <fdrake@acm.org>2002-03-26 19:14:41 (GMT)
commit15fc72ce77755ac4a221fa61b82418cd653a72df (patch)
tree88500265a031b74808d6b1dfffef4f75f2fc0157 /Doc/texinputs
parentaad1849e25cf329b1c3f28908ae5abd4b1a1f460 (diff)
downloadcpython-15fc72ce77755ac4a221fa61b82418cd653a72df.zip
cpython-15fc72ce77755ac4a221fa61b82418cd653a72df.tar.gz
cpython-15fc72ce77755ac4a221fa61b82418cd653a72df.tar.bz2
Make \url to force horizontal mode.
Diffstat (limited to 'Doc/texinputs')
-rw-r--r--Doc/texinputs/python.sty1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/texinputs/python.sty b/Doc/texinputs/python.sty
index d37682e..7a1c219 100644
--- a/Doc/texinputs/python.sty
+++ b/Doc/texinputs/python.sty
@@ -796,6 +796,7 @@
% but only if we actually used hyperref:
\ifpdf
\newcommand{\url}[1]{{%
+ \noindent%
\pdfstartlink attr{/Border [0 0 0]} user{/S /URI /URI (#1)}%
\py@LinkColor% color of the link text
\small\sf #1%