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

Skip to content

Commit 36a4d8c

Browse files
committed
Remove mentionings of DOS.
1 parent e893f2f commit 36a4d8c

7 files changed

Lines changed: 10 additions & 13 deletions

File tree

Doc/api/init.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ \chapter{Initialization, Finalization, and Threads
233233
environment variables. The returned string consists of a series of
234234
directory names separated by a platform dependent delimiter
235235
character. The delimiter character is \character{:} on \UNIX,
236-
\character{;} on DOS/Windows, and \character{\e n} (the \ASCII{}
236+
\character{;} on Windows, and \character{\e n} (the \ASCII{}
237237
newline character) on Macintosh. The returned string points into
238238
static storage; the caller should not modify its value. The value
239239
is available to Python code as the list

Doc/doc/doc.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ \section{Special Markup Constructs \label{special-constructs}}
927927
\begin{macrodesc}{program}{\p{name}}
928928
The name of an executable program. This may differ from the
929929
file name for the executable for some platforms. In particular,
930-
the \file{.exe} (or other) extension should be omitted for DOS
931-
and Windows programs.
930+
the \file{.exe} (or other) extension should be omitted for
931+
Windows programs.
932932
\end{macrodesc}
933933

934934
\begin{macrodesc}{programopt}{\p{option}}

Doc/lib/libos.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ \section{\module{os} ---
6464
\begin{datadesc}{name}
6565
The name of the operating system dependent module imported. The
6666
following names have currently been registered: \code{'posix'},
67-
\code{'nt'}, \code{'dos'}, \code{'mac'}, \code{'os2'}, \code{'ce'},
67+
\code{'nt'}, \code{'mac'}, \code{'os2'}, \code{'ce'},
6868
\code{'java'}, \code{'riscos'}.
6969
\end{datadesc}
7070

@@ -1444,14 +1444,14 @@ \subsection{Miscellaneous System Information \label{os-path}}
14441444
\begin{datadesc}{altsep}
14451445
An alternative character used by the operating system to separate pathname
14461446
components, or \code{None} if only one separator character exists. This is
1447-
set to \character{/} on DOS and Windows systems where \code{sep} is a
1447+
set to \character{/} on Windows systems where \code{sep} is a
14481448
backslash.
14491449
\end{datadesc}
14501450

14511451
\begin{datadesc}{pathsep}
14521452
The character conventionally used by the operating system to separate
14531453
search patch components (as in \envvar{PATH}), such as \character{:} for
1454-
\POSIX{} or \character{;} for DOS and Windows.
1454+
\POSIX{} or \character{;} for Windows.
14551455
\end{datadesc}
14561456

14571457
\begin{datadesc}{defpath}
@@ -1464,5 +1464,5 @@ \subsection{Miscellaneous System Information \label{os-path}}
14641464
The string used to separate (or, rather, terminate) lines on the
14651465
current platform. This may be a single character, such as \code{'\e
14661466
n'} for \POSIX{} or \code{'\e r'} for Mac OS, or multiple characters,
1467-
for example, \code{'\e r\e n'} for DOS and Windows.
1467+
for example, \code{'\e r\e n'} for Windows.
14681468
\end{datadesc}

Doc/lib/libundoc.tex

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ \section{Platform specific modules}
4646
document these.
4747

4848
\begin{description}
49-
\item[\module{dospath}]
50-
--- Implementation of \module{os.path} on MS-DOS.
51-
5249
\item[\module{ntpath}]
5350
--- Implementation on \module{os.path} on Win32, Win64, WinCE, and
5451
OS/2 platforms.

Doc/lib/libuu.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ \section{\module{uu} ---
1414
reading and writing; the pathname \code{'-'} is understood to mean the
1515
standard input or output. However, this interface is deprecated; it's
1616
better for the caller to open the file itself, and be sure that, when
17-
required, the mode is \code{'rb'} or \code{'wb'} on Windows or DOS.
17+
required, the mode is \code{'rb'} or \code{'wb'} on Windows.
1818

1919
This code was contributed by Lance Ellinghouse, and modified by Jack
2020
Jansen.

Doc/ref/ref2.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ \subsection{Physical lines\label{physical}}
5656

5757
A physical line ends in whatever the current platform's convention is
5858
for terminating lines. On \UNIX, this is the \ASCII{} LF (linefeed)
59-
character. On DOS/Windows, it is the \ASCII{} sequence CR LF (return
59+
character. On Windows, it is the \ASCII{} sequence CR LF (return
6060
followed by linefeed). On Macintosh, it is the \ASCII{} CR (return)
6161
character.
6262

Doc/tut/tut.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ \section{Invoking the Interpreter \label{invoking}}
176176
\file{/usr/local/python} is a popular alternative location.)
177177

178178
Typing an end-of-file character (\kbd{Control-D} on \UNIX,
179-
\kbd{Control-Z} on DOS or Windows) at the primary prompt causes the
179+
\kbd{Control-Z} on Windows) at the primary prompt causes the
180180
interpreter to exit with a zero exit status. If that doesn't work,
181181
you can exit the interpreter by typing the following commands:
182182
\samp{import sys; sys.exit()}.

0 commit comments

Comments
 (0)