File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
NEWS.d/next/Documentation Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -569,8 +569,15 @@ The :mod:`multiprocessing` package mostly replicates the API of the
569
569
.. attribute :: exitcode
570
570
571
571
The child's exit code. This will be ``None `` if the process has not yet
572
- terminated. A negative value *-N * indicates that the child was terminated
573
- by signal *N *.
572
+ terminated.
573
+
574
+ If the child's :meth: `run ` method returned normally, the exit code
575
+ will be 0. If it terminated via :func: `sys.exit ` with an integer
576
+ argument *N *, the exit code will be *N *.
577
+
578
+ If the child terminated due to an exception not caught within
579
+ :meth: `run `, the exit code will be 1. If it was terminated by
580
+ signal *N *, the exit code will be the negative value *-N *.
574
581
575
582
.. attribute :: authkey
576
583
Original file line number Diff line number Diff line change @@ -1118,6 +1118,7 @@ Vincent Marchetti
1118
1118
David Marek
1119
1119
Doug Marien
1120
1120
Sven Marnach
1121
+ John Marshall
1121
1122
Alex Martelli
1122
1123
Dennis Mårtensson
1123
1124
Anthony Martin
Original file line number Diff line number Diff line change
1
+ Expand the :attr: `multiprocessing.Process.exitcode ` documentation.
You can’t perform that action at this time.
0 commit comments