Skip to content

Commit e92ea6d

Browse files
authored
Change docs
1 parent 6898906 commit e92ea6d

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

Doc/library/multiprocessing.rst

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -673,15 +673,6 @@ The :mod:`multiprocessing` package mostly replicates the API of the
673673

674674
.. versionadded:: 3.7
675675

676-
.. method:: closed()
677-
678-
Return whether the process is closed.
679-
680-
Roughly, a process object is considered closed when :meth:`close`
681-
is called on it.
682-
683-
.. versionadded:: 3.14
684-
685676
.. method:: close()
686677

687678
Close the :class:`Process` object, releasing all resources associated
@@ -715,6 +706,12 @@ The :mod:`multiprocessing` package mostly replicates the API of the
715706
>>> p.exitcode == -signal.SIGTERM
716707
True
717708

709+
.. attribute:: closed
710+
711+
Boolean indicating whether the process has been closed via :meth:`close`.
712+
713+
.. versionadded:: 3.14
714+
718715
.. exception:: ProcessError
719716

720717
The base class of all :mod:`multiprocessing` exceptions.

0 commit comments

Comments
 (0)