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
f35b884c
Commit
f35b884c
authored
Oct 15, 1998
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that close() of a stream opened by popen() returns None if the
exit status is zero.
parent
b7ffca39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Doc/lib/libposix.tex
Doc/lib/libposix.tex
+2
-1
No files found.
Doc/lib/libposix.tex
View file @
f35b884c
...
...
@@ -293,7 +293,8 @@ The \var{bufsize} argument has the same meaning as the corresponding
argument to the built-in
\function
{
open()
}
function. The exit status of
the command (encoded in the format specified for
\function
{
wait()
}
) is
available as the return value of the
\method
{
close()
}
method of the file
object.
object, except that when the exit status is zero (termination without
errors),
\code
{
None
}
is returned.
(Not on MS-DOS.)
\end{funcdesc}
...
...
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