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
ec6baaf6
Commit
ec6baaf6
authored
Apr 21, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small markup nits.
parent
54f2fdd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
Doc/lib/libos.tex
Doc/lib/libos.tex
+11
-11
No files found.
Doc/lib/libos.tex
View file @
ec6baaf6
\section
{
\module
{
os
}
---
\section
{
\module
{
os
}
---
Miscellaneous OS interfaces
}
Miscellaneous OS interfaces
}
\declaremodule
{
standard
}{
os
}
\declaremodule
{
standard
}{
os
}
\modulesynopsis
{
Miscellaneous OS interfaces.
}
\modulesynopsis
{
Miscellaneous OS interfaces.
}
...
@@ -14,9 +14,9 @@ This module searches for an OS dependent built-in module like
...
@@ -14,9 +14,9 @@ This module searches for an OS dependent built-in module like
as found there. The design of all Python's built-in OS dependent
as found there. The design of all Python's built-in OS dependent
modules is such that as long as the same functionality is available,
modules is such that as long as the same functionality is available,
it uses the same interface; e.g., the function
it uses the same interface; e.g., the function
\code
{
os.stat(
\var
{
path
}
)
}
returns stat information about
\var
{
path
}
\code
{
os.stat(
\var
{
path
}
)
}
returns stat information about
\var
{
path
}
in
in the same format (which happens to have originated with the
\POSIX
{}
the same format (which happens to have originated with the
interface).
\POSIX
{}
interface).
Extensions peculiar to a particular OS are also available through the
Extensions peculiar to a particular OS are also available through the
\module
{
os
}
module, but using them is of course a threat to
\module
{
os
}
module, but using them is of course a threat to
...
@@ -688,7 +688,7 @@ Availability: Windows.
...
@@ -688,7 +688,7 @@ Availability: Windows.
\begin{funcdesc}
{
system
}{
command
}
\begin{funcdesc}
{
system
}{
command
}
Execute the command (a string) in a subshell. This is implemented by
Execute the command (a string) in a subshell. This is implemented by
calling the Standard C function
\cfunction
{
system()
}
, and has the
calling the Standard C function
\cfunction
{
system()
}
, and has the
same limitations. Changes to
\code
{
posix.environ
}
,
\code
{
sys.stdin
}
same limitations. Changes to
\code
{
posix.environ
}
,
\code
{
sys.stdin
}
,
etc.
\
are not reflected in the environment of the executed command.
etc.
\
are not reflected in the environment of the executed command.
The return value is the exit status of the process encoded in the
The return value is the exit status of the process encoded in the
format specified for
\function
{
wait()
}
.
format specified for
\function
{
wait()
}
.
...
@@ -700,9 +700,9 @@ Return a 5-tuple of floating point numbers indicating accumulated (CPU
...
@@ -700,9 +700,9 @@ Return a 5-tuple of floating point numbers indicating accumulated (CPU
or other)
or other)
times, in seconds. The items are: user time, system time, children's
times, in seconds. The items are: user time, system time, children's
user time, children's system time, and elapsed real time since a fixed
user time, children's system time, and elapsed real time since a fixed
point in the past, in that order. See the
\UNIX
{}
point in the past, in that order. See the
\UNIX
{}
manual page
manual page
\manpage
{
times
}{
2
}
or the corresponding Windows Platform
\manpage
{
times
}{
2
}
or the corresponding Windows Platform API
API
documentation.
documentation.
Availability:
\UNIX
{}
, Windows.
Availability:
\UNIX
{}
, Windows.
\end{funcdesc}
\end{funcdesc}
...
@@ -814,7 +814,7 @@ doesn't have a \code{'PATH'} key.
...
@@ -814,7 +814,7 @@ doesn't have a \code{'PATH'} key.
\begin{datadesc}
{
linesep
}
\begin{datadesc}
{
linesep
}
The string used to separate (or, rather, terminate) lines on the
The string used to separate (or, rather, terminate) lines on the
current platform. This may be a single character,
e.g.
\code
{
'
\e
n'
}
current platform. This may be a single character,
for
\POSIX
{}
or
\code
{
'
\e
r'
}
for MacOS, or multiple characters,
e.g.
\ \code
{
'
\e
n'
}
for
\POSIX
{}
or
\code
{
'
\e
r'
}
for MacOS, or multiple
e.g.
\code
{
'
\e
r
\e
n'
}
for MS-DOS and MS Windows.
characters, e.g.
\
\code
{
'
\e
r
\e
n'
}
for MS-DOS and MS Windows.
\end{datadesc}
\end{datadesc}
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