From: Fred Drake Date: Mon, 31 Mar 2003 16:45:22 +0000 (+0000) Subject: Match some of the markup changes from the trunk. X-Git-Tag: v2.2.3c1~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb5d378a65166d9d75d9fb0bc84ca945026a088e;p=thirdparty%2FPython%2Fcpython.git Match some of the markup changes from the trunk. --- diff --git a/Doc/dist/dist.tex b/Doc/dist/dist.tex index 33fa225a7d02..9e0cd242a68d 100644 --- a/Doc/dist/dist.tex +++ b/Doc/dist/dist.tex @@ -295,9 +295,10 @@ mind that the \emph{absence} of a leading slash indicates a relative path, the opposite of the MacOS convention with colons). This, of course, only applies to pathnames given to Distutils functions. -If you, for example, use standard python functions such as glob.glob -or os.listdir to specify files, you should be careful to write portable -code instead of hardcoding path separators: +If you, for example, use standard Python functions such as +\function{glob.glob()} or \function{os.listdir()} to specify files, +you should be careful to write portable code instead of hardcoding +path separators: \begin{verbatim} glob.glob(os.path.join('mydir', 'subdir', '*.html'))