File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -919,9 +919,12 @@ Reassigning them to new values is unsupported:
919
919
920
920
.. attribute :: Popen.returncode
921
921
922
- The child return code, set by :meth: `poll ` and :meth: `wait ` (and indirectly
923
- by :meth: `communicate `). A ``None `` value indicates that the process
924
- hasn't terminated yet.
922
+ The child return code. Initially ``None ``, :attr: `returncode ` is set by
923
+ a call to the :meth: `poll `, :meth: `wait `, or :meth: `communicate ` methods
924
+ if they detect that the process has terminated.
925
+
926
+ A ``None `` value indicates that the process hadn't yet terminated at the
927
+ time of the last method call.
925
928
926
929
A negative value ``-N `` indicates that the child was terminated by signal
927
930
``N `` (POSIX only).
You can’t perform that action at this time.
0 commit comments