summaryrefslogtreecommitdiffstats
path: root/Doc/lib
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-01-22 20:47:26 (GMT)
committerFred Drake <fdrake@acm.org>1998-01-22 20:47:26 (GMT)
commit16f88454f1a97c18ccb51f5d3469fc9f6e5ef09a (patch)
treeaf124cea08273574d6a7190c20a0154db5d6ae2a /Doc/lib
parentff3f0d0a5c037b415cbe7037d2e7396280973fe8 (diff)
downloadcpython-16f88454f1a97c18ccb51f5d3469fc9f6e5ef09a.zip
cpython-16f88454f1a97c18ccb51f5d3469fc9f6e5ef09a.tar.gz
cpython-16f88454f1a97c18ccb51f5d3469fc9f6e5ef09a.tar.bz2
Use \url{} to mark a URL.
Diffstat (limited to 'Doc/lib')
-rw-r--r--Doc/lib/libregex.tex2
-rw-r--r--Doc/lib/libregsub.tex8
2 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libregex.tex b/Doc/lib/libregex.tex
index 6843594..f3a3fa9 100644
--- a/Doc/lib/libregex.tex
+++ b/Doc/lib/libregex.tex
@@ -15,7 +15,7 @@ converted. The standard library module
\code{reconvert}\refstmodindex{reconvert} helps in converting
\code{regex} style regular expressions to \code{re}\refstmodindex{re}
style regular expressions. (For more conversion help, see the URL
-\file{http://starship.skyport.net/crew/amk/regex/regex-to-re.html}.)
+\url{http://starship.skyport.net/crew/amk/regex/regex-to-re.html}.)
By default the patterns are Emacs-style regular expressions
(with one exception). There is
diff --git a/Doc/lib/libregsub.tex b/Doc/lib/libregsub.tex
index 03e5c3f..48cff87 100644
--- a/Doc/lib/libregsub.tex
+++ b/Doc/lib/libregsub.tex
@@ -10,13 +10,13 @@ Warning: these functions are not thread-safe.
\strong{Obsolescence note:}
This module is obsolete as of Python version 1.5; it is still being
maintained because much existing code still uses it. All new code in
-need of regular expressions should use the new \code{re} module, which
+need of regular expressions should use the new \module{re} module, which
supports the more powerful and regular Perl-style regular expressions.
Existing code should be converted. The standard library module
-\code{reconvert} helps in converting \code{regex} style regular
-expressions to \code{re} style regular expressions. (For more
+\module{reconvert} helps in converting \code{regex} style regular
+expressions to \module{re} style regular expressions. (For more
conversion help, see the URL
-\file{http://starship.skyport.net/crew/amk/regex/regex-to-re.html}.)
+\url{http://starship.skyport.net/crew/amk/regex/regex-to-re.html}.)
\renewcommand{\indexsubitem}{(in module regsub)}