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

Skip to content

Commit 6dc2aae

Browse files
committed
(tut.tex): Normalized all uses of "UNIX" and "{\UNIX}" to use "\UNIX{}",
per usage needed for GNU info processing. Based on comments from Tamito Kajiyama.
1 parent 3082424 commit 6dc2aae

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

Doc/tut.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
window managers.
2929

3030
Python is available for various operating systems, amongst which
31-
several flavors of {\UNIX}, the Apple Macintosh, MS-DOS, Windows
31+
several flavors of \UNIX{}, the Apple Macintosh, MS-DOS, Windows
3232
(3.1(1), '95 and NT flavors), OS/2, and others.
3333

3434
This tutorial introduces the reader informally to the basic concepts
@@ -162,7 +162,7 @@ \section{Invoking the Interpreter}
162162

163163
The Python interpreter is usually installed as {\tt /usr/local/bin/python}
164164
on those machines where it is available; putting {\tt /usr/local/bin} in
165-
your {\UNIX} shell's search path makes it possible to start it by
165+
your \UNIX{} shell's search path makes it possible to start it by
166166
typing the command
167167

168168
\bcode\begin{verbatim}
@@ -174,7 +174,7 @@ \section{Invoking the Interpreter}
174174
your local Python guru or system administrator. (E.g., {\tt
175175
/usr/local/python} is a popular alternative location.)
176176

177-
The interpreter operates somewhat like the {\UNIX} shell: when called
177+
The interpreter operates somewhat like the \UNIX{} shell: when called
178178
with standard input connected to a tty device, it reads and executes
179179
commands interactively; when called with a file name argument or with
180180
a file as standard input, it reads and executes a {\em script} from
@@ -223,7 +223,7 @@ \subsection{Interactive Mode}
223223
>>>}); for continuation lines it prompts with the
224224
{\em secondary\ prompt},
225225
by default three dots ({\tt ...}). Typing an EOF character
226-
(Control-D on {\UNIX}, Control-Z on DOS or Windows)
226+
(Control-D on \UNIX{}, Control-Z on DOS or Windows)
227227
at the primary prompt causes the interpreter to exit with a zero exit
228228
status.
229229

@@ -269,7 +269,7 @@ \subsection{The Module Search Path}
269269
for a file named {\tt spam.py} in the current directory,
270270
and then in the list of directories specified by
271271
the environment variable {\tt PYTHONPATH}. This has the same syntax as
272-
the {\UNIX} shell variable {\tt PATH}, i.e., a list of colon-separated
272+
the \UNIX{} shell variable {\tt PATH}, i.e., a list of colon-separated
273273
directory names. When {\tt PYTHONPATH} is not set, or when the file
274274
is not found there, the search continues in an installation-dependent
275275
default path, usually {\tt .:/usr/local/lib/python}.
@@ -303,7 +303,7 @@ \subsection{``Compiled'' Python files}
303303

304304
\subsection{Executable Python scripts}
305305

306-
On BSD'ish {\UNIX} systems, Python scripts can be made directly
306+
On BSD'ish \UNIX{} systems, Python scripts can be made directly
307307
executable, like shell scripts, by putting the line
308308

309309
\bcode\begin{verbatim}
@@ -320,7 +320,7 @@ \subsection{The Interactive Startup File}
320320
standard commands executed every time the interpreter is started. You
321321
can do this by setting an environment variable named {\tt
322322
PYTHONSTARTUP} to the name of a file containing your start-up
323-
commands. This is similar to the {\tt .profile} feature of the UNIX
323+
commands. This is similar to the {\tt .profile} feature of the \UNIX{}
324324
shells.
325325

326326
This file is only read in interactive sessions, not when Python reads
@@ -3229,9 +3229,9 @@ \section{New Class Features}
32293229

32303230
\section{Unix Signal Handling}
32313231

3232-
On {\UNIX}, Python now supports signal handling. The module
3232+
On \UNIX{}, Python now supports signal handling. The module
32333233
\code{signal} exports functions \code{signal}, \code{pause} and
3234-
\code{alarm}, which act similar to their {\UNIX} counterparts. The
3234+
\code{alarm}, which act similar to their \UNIX{} counterparts. The
32353235
module also exports the conventional names for the various signal
32363236
classes (also usable with \code{os.kill()}) and \code{SIG_IGN} and
32373237
\code{SIG_DFL}. See the section on \code{signal} in the Library

Doc/tut/tut.tex

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
window managers.
2929

3030
Python is available for various operating systems, amongst which
31-
several flavors of {\UNIX}, the Apple Macintosh, MS-DOS, Windows
31+
several flavors of \UNIX{}, the Apple Macintosh, MS-DOS, Windows
3232
(3.1(1), '95 and NT flavors), OS/2, and others.
3333

3434
This tutorial introduces the reader informally to the basic concepts
@@ -162,7 +162,7 @@ \section{Invoking the Interpreter}
162162

163163
The Python interpreter is usually installed as {\tt /usr/local/bin/python}
164164
on those machines where it is available; putting {\tt /usr/local/bin} in
165-
your {\UNIX} shell's search path makes it possible to start it by
165+
your \UNIX{} shell's search path makes it possible to start it by
166166
typing the command
167167

168168
\bcode\begin{verbatim}
@@ -174,7 +174,7 @@ \section{Invoking the Interpreter}
174174
your local Python guru or system administrator. (E.g., {\tt
175175
/usr/local/python} is a popular alternative location.)
176176

177-
The interpreter operates somewhat like the {\UNIX} shell: when called
177+
The interpreter operates somewhat like the \UNIX{} shell: when called
178178
with standard input connected to a tty device, it reads and executes
179179
commands interactively; when called with a file name argument or with
180180
a file as standard input, it reads and executes a {\em script} from
@@ -223,7 +223,7 @@ \subsection{Interactive Mode}
223223
>>>}); for continuation lines it prompts with the
224224
{\em secondary\ prompt},
225225
by default three dots ({\tt ...}). Typing an EOF character
226-
(Control-D on {\UNIX}, Control-Z on DOS or Windows)
226+
(Control-D on \UNIX{}, Control-Z on DOS or Windows)
227227
at the primary prompt causes the interpreter to exit with a zero exit
228228
status.
229229

@@ -269,7 +269,7 @@ \subsection{The Module Search Path}
269269
for a file named {\tt spam.py} in the current directory,
270270
and then in the list of directories specified by
271271
the environment variable {\tt PYTHONPATH}. This has the same syntax as
272-
the {\UNIX} shell variable {\tt PATH}, i.e., a list of colon-separated
272+
the \UNIX{} shell variable {\tt PATH}, i.e., a list of colon-separated
273273
directory names. When {\tt PYTHONPATH} is not set, or when the file
274274
is not found there, the search continues in an installation-dependent
275275
default path, usually {\tt .:/usr/local/lib/python}.
@@ -303,7 +303,7 @@ \subsection{``Compiled'' Python files}
303303

304304
\subsection{Executable Python scripts}
305305

306-
On BSD'ish {\UNIX} systems, Python scripts can be made directly
306+
On BSD'ish \UNIX{} systems, Python scripts can be made directly
307307
executable, like shell scripts, by putting the line
308308

309309
\bcode\begin{verbatim}
@@ -320,7 +320,7 @@ \subsection{The Interactive Startup File}
320320
standard commands executed every time the interpreter is started. You
321321
can do this by setting an environment variable named {\tt
322322
PYTHONSTARTUP} to the name of a file containing your start-up
323-
commands. This is similar to the {\tt .profile} feature of the UNIX
323+
commands. This is similar to the {\tt .profile} feature of the \UNIX{}
324324
shells.
325325

326326
This file is only read in interactive sessions, not when Python reads
@@ -3229,9 +3229,9 @@ \section{New Class Features}
32293229

32303230
\section{Unix Signal Handling}
32313231

3232-
On {\UNIX}, Python now supports signal handling. The module
3232+
On \UNIX{}, Python now supports signal handling. The module
32333233
\code{signal} exports functions \code{signal}, \code{pause} and
3234-
\code{alarm}, which act similar to their {\UNIX} counterparts. The
3234+
\code{alarm}, which act similar to their \UNIX{} counterparts. The
32353235
module also exports the conventional names for the various signal
32363236
classes (also usable with \code{os.kill()}) and \code{SIG_IGN} and
32373237
\code{SIG_DFL}. See the section on \code{signal} in the Library

0 commit comments

Comments
 (0)