Skip to content

Commit 77fb481

Browse files
Update pdb.rst
1 parent 455d9bb commit 77fb481

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/pdb.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,8 @@ can be overridden by the local file.
702702
.. pdbcommand:: attach process
703703

704704
Attach to a running process. The *process* argument could be either a
705-
:class:`subprocess.Popen`, :class:`multiprocessing.Process` or a process ID.
705+
process ID, or any object that has a ``pid`` attribute like
706+
:class:`subprocess.Popen` or :class:`multiprocessing.Process`.
706707

707708
.. versionadded:: 3.15
708709

0 commit comments

Comments
 (0)