@@ -290,11 +290,11 @@ The :mod:`multiprocessing` package mostly replicates the API of the
290290 A process cannot join itself because this would cause a deadlock. It is
291291 an error to attempt to join a process before it has been started.
292292
293- .. method :: get_name()
293+ .. attribute :: Process.name
294294
295295 Return the process's name.
296296
297- .. method :: set_name( name)
297+ .. attribute :: Process. name = name
298298
299299 Set the process's name.
300300
@@ -309,11 +309,11 @@ The :mod:`multiprocessing` package mostly replicates the API of the
309309 Roughly, a process object is alive from the moment the :meth: `start `
310310 method returns until the child process terminates.
311311
312- .. method :: is_daemon()
312+ .. attribute :: Process.daemon
313313
314- Return the process's daemon flag.
314+ Return the process's daemon flag., this is a boolean.
315315
316- .. method :: set_daemon( daemonic)
316+ .. attribute :: Process.daemon = daemonic
317317
318318 Set the process's daemon flag to the Boolean value *daemonic *. This must
319319 be called before :meth: `start ` is called.
@@ -329,18 +329,18 @@ The :mod:`multiprocessing` package mostly replicates the API of the
329329
330330 In addition process objects also support the following methods:
331331
332- .. method :: get_pid()
332+ .. attribute :: Process.pid
333333
334334 Return the process ID. Before the process is spawned, this will be
335335 ``None ``.
336336
337- .. method :: get_exit_code()
337+ .. attribute :: Process.exitcode
338338
339339 Return the child's exit code. This will be ``None `` if the process has
340340 not yet terminated. A negative value *-N * indicates that the child was
341341 terminated by signal *N *.
342342
343- .. method :: get_auth_key()
343+ .. attribute :: Process.authkey
344344
345345 Return the process's authentication key (a byte string).
346346
@@ -349,11 +349,11 @@ The :mod:`multiprocessing` package mostly replicates the API of the
349349
350350 When a :class: `Process ` object is created, it will inherit the
351351 authentication key of its parent process, although this may be changed
352- using :meth: ` set_auth_key ` below.
352+ using :attr: ` Process.authkey ` below.
353353
354354 See :ref: `multiprocessing-auth-keys `.
355355
356- .. method :: set_auth_key( authkey)
356+ .. attribute :: Process. authkey = authkey
357357
358358 Set the process's authentication key which must be a byte string.
359359
0 commit comments