Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 12d9da5

Browse files
committed
Use \file{} instead of \code{} or ``\code{}'' to mark file & directory names
& name parts.
1 parent 8d0ff31 commit 12d9da5

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/lib/libtempfile.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ \section{Standard Module \sectcode{tempfile}}
2828
When set to a value other than \code{None}, this variable defines the
2929
directory in which filenames returned by \code{mktemp()} reside. The
3030
default is taken from the environment variable \code{TMPDIR}; if this
31-
is not set, either \code{/usr/tmp} is used (on \UNIX{}), or the current
31+
is not set, either \file{/usr/tmp} is used (on \UNIX{}), or the current
3232
working directory (all other systems). No check is made to see
3333
whether its value is valid.
3434
\end{datadesc}
@@ -38,8 +38,8 @@ \section{Standard Module \sectcode{tempfile}}
3838
When set to a value other than \code{None}, this variable defines the
3939
prefix of the final component of the filenames returned by
4040
\code{mktemp()}. A string of decimal digits is added to generate
41-
unique filenames. The default is either ``\code{@\var{pid}.}'' where
42-
\var{pid} is the current process ID (on \UNIX{}), or ``\code{tmp}'' (all
41+
unique filenames. The default is either \file{@\var{pid}.} where
42+
\var{pid} is the current process ID (on \UNIX{}), or \file{tmp} (all
4343
other systems).
4444
\end{datadesc}
4545

Doc/libtempfile.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ \section{Standard Module \sectcode{tempfile}}
2828
When set to a value other than \code{None}, this variable defines the
2929
directory in which filenames returned by \code{mktemp()} reside. The
3030
default is taken from the environment variable \code{TMPDIR}; if this
31-
is not set, either \code{/usr/tmp} is used (on \UNIX{}), or the current
31+
is not set, either \file{/usr/tmp} is used (on \UNIX{}), or the current
3232
working directory (all other systems). No check is made to see
3333
whether its value is valid.
3434
\end{datadesc}
@@ -38,8 +38,8 @@ \section{Standard Module \sectcode{tempfile}}
3838
When set to a value other than \code{None}, this variable defines the
3939
prefix of the final component of the filenames returned by
4040
\code{mktemp()}. A string of decimal digits is added to generate
41-
unique filenames. The default is either ``\code{@\var{pid}.}'' where
42-
\var{pid} is the current process ID (on \UNIX{}), or ``\code{tmp}'' (all
41+
unique filenames. The default is either \file{@\var{pid}.} where
42+
\var{pid} is the current process ID (on \UNIX{}), or \file{tmp} (all
4343
other systems).
4444
\end{datadesc}
4545

0 commit comments

Comments
 (0)