Skip to content

Commit

Permalink
Update index.rst (#1308)
Browse files Browse the repository at this point in the history
Updated Process section
  • Loading branch information
ashish-billore authored and giampaolo committed Jul 24, 2018
1 parent cf9d1cd commit 07b42c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -848,10 +848,8 @@ Functions
Cached :class:`Process` instances are checked for identity so that you're
safe in case a PID has been reused by another process, in which case the
cached instance is updated.
This is should be preferred over :func:`psutil.pids()` for iterating over
processes.
Sorting order in which processes are returned is
based on their PID.
This is preferred over :func:`psutil.pids()` for iterating over processes.
Sorting order in which processes are returned is based on their PID.
*attrs* and *ad_value* have the same meaning as in :meth:`Process.as_dict()`.
If *attrs* is specified :meth:`Process.as_dict()` is called internally and
the resulting dict is stored as a ``info`` attribute which is attached to the
Expand Down

0 comments on commit 07b42c1

Please sign in to comment.