Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
36a4d8c2
Commit
36a4d8c2
authored
Oct 10, 2002
by
Martin v. Löwis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mentionings of DOS.
parent
e893f2f3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
13 deletions
+10
-13
Doc/api/init.tex
Doc/api/init.tex
+1
-1
Doc/doc/doc.tex
Doc/doc/doc.tex
+2
-2
Doc/lib/libos.tex
Doc/lib/libos.tex
+4
-4
Doc/lib/libundoc.tex
Doc/lib/libundoc.tex
+0
-3
Doc/lib/libuu.tex
Doc/lib/libuu.tex
+1
-1
Doc/ref/ref2.tex
Doc/ref/ref2.tex
+1
-1
Doc/tut/tut.tex
Doc/tut/tut.tex
+1
-1
No files found.
Doc/api/init.tex
View file @
36a4d8c2
...
...
@@ -233,7 +233,7 @@
environment variables. The returned string consists of a series of
directory names separated by a platform dependent delimiter
character. The delimiter character is
\character
{
:
}
on
\UNIX
,
\character
{
;
}
on
DOS/
Windows, and
\character
{
\e
n
}
(the
\ASCII
{}
\character
{
;
}
on Windows, and
\character
{
\e
n
}
(the
\ASCII
{}
newline character) on Macintosh. The returned string points into
static storage; the caller should not modify its value. The value
is available to Python code as the list
...
...
Doc/doc/doc.tex
View file @
36a4d8c2
...
...
@@ -927,8 +927,8 @@ This \UNIX\ is also followed by a space.
\begin{macrodesc}
{
program
}{
\p
{
name
}}
The name of an executable program. This may differ from the
file name for the executable for some platforms. In particular,
the
\file
{
.exe
}
(or other) extension should be omitted for
DOS
and
Windows programs.
the
\file
{
.exe
}
(or other) extension should be omitted for
Windows programs.
\end{macrodesc}
\begin{macrodesc}
{
programopt
}{
\p
{
option
}}
...
...
Doc/lib/libos.tex
View file @
36a4d8c2
...
...
@@ -64,7 +64,7 @@ function.
\begin{datadesc}
{
name
}
The name of the operating system dependent module imported. The
following names have currently been registered:
\code
{
'posix'
}
,
\code
{
'nt'
}
,
\code
{
'
dos'
}
,
\code
{
'
mac'
}
,
\code
{
'os2'
}
,
\code
{
'ce'
}
,
\code
{
'nt'
}
,
\code
{
'mac'
}
,
\code
{
'os2'
}
,
\code
{
'ce'
}
,
\code
{
'java'
}
,
\code
{
'riscos'
}
.
\end{datadesc}
...
...
@@ -1444,14 +1444,14 @@ parse or concatenate pathnames --- use \function{os.path.split()} and
\begin{datadesc}
{
altsep
}
An alternative character used by the operating system to separate pathname
components, or
\code
{
None
}
if only one separator character exists. This is
set to
\character
{
/
}
on
DOS and
Windows systems where
\code
{
sep
}
is a
set to
\character
{
/
}
on Windows systems where
\code
{
sep
}
is a
backslash.
\end{datadesc}
\begin{datadesc}
{
pathsep
}
The character conventionally used by the operating system to separate
search patch components (as in
\envvar
{
PATH
}
), such as
\character
{
:
}
for
\POSIX
{}
or
\character
{
;
}
for
DOS and
Windows.
\POSIX
{}
or
\character
{
;
}
for Windows.
\end{datadesc}
\begin{datadesc}
{
defpath
}
...
...
@@ -1464,5 +1464,5 @@ key.
The string used to separate (or, rather, terminate) lines on the
current platform. This may be a single character, such as
\code
{
'
\e
n'
}
for
\POSIX
{}
or
\code
{
'
\e
r'
}
for Mac OS, or multiple characters,
for example,
\code
{
'
\e
r
\e
n'
}
for
DOS and
Windows.
for example,
\code
{
'
\e
r
\e
n'
}
for Windows.
\end{datadesc}
Doc/lib/libundoc.tex
View file @
36a4d8c2
...
...
@@ -46,9 +46,6 @@ and are not documented beyond this mention. There's little need to
document these.
\begin{description}
\item
[\module{dospath}]
--- Implementation of
\module
{
os.path
}
on MS-DOS.
\item
[\module{ntpath}]
--- Implementation on
\module
{
os.path
}
on Win32, Win64, WinCE, and
OS/2 platforms.
...
...
Doc/lib/libuu.tex
View file @
36a4d8c2
...
...
@@ -14,7 +14,7 @@ is also accepted, and the corresponding file will be opened for
reading and writing; the pathname
\code
{
'-'
}
is understood to mean the
standard input or output. However, this interface is deprecated; it's
better for the caller to open the file itself, and be sure that, when
required, the mode is
\code
{
'rb'
}
or
\code
{
'wb'
}
on Windows
or DOS
.
required, the mode is
\code
{
'rb'
}
or
\code
{
'wb'
}
on Windows.
This code was contributed by Lance Ellinghouse, and modified by Jack
Jansen.
...
...
Doc/ref/ref2.tex
View file @
36a4d8c2
...
...
@@ -56,7 +56,7 @@ by following the explicit or implicit \emph{line joining} rules.
A physical line ends in whatever the current platform's convention is
for terminating lines. On
\UNIX
, this is the
\ASCII
{}
LF (linefeed)
character. On
DOS/
Windows, it is the
\ASCII
{}
sequence CR LF (return
character. On Windows, it is the
\ASCII
{}
sequence CR LF (return
followed by linefeed). On Macintosh, it is the
\ASCII
{}
CR (return)
character.
...
...
Doc/tut/tut.tex
View file @
36a4d8c2
...
...
@@ -176,7 +176,7 @@ your local Python guru or system administrator. (E.g.,
\file
{
/usr/local/python
}
is a popular alternative location.)
Typing an end-of-file character (
\kbd
{
Control-D
}
on
\UNIX
,
\kbd
{
Control-Z
}
on
DOS or
Windows) at the primary prompt causes the
\kbd
{
Control-Z
}
on Windows) at the primary prompt causes the
interpreter to exit with a zero exit status. If that doesn't work,
you can exit the interpreter by typing the following commands:
\samp
{
import sys; sys.exit()
}
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment