]> granicus.if.org Git - python/commit
bpo-29554: Improve docs for pstat module and profile. (#88) (#227)
authorBerker Peksag <berker.peksag@gmail.com>
Wed, 22 Feb 2017 01:55:33 +0000 (04:55 +0300)
committerGitHub <noreply@github.com>
Wed, 22 Feb 2017 01:55:33 +0000 (04:55 +0300)
commitb067a5eef7fdf69264d3578654996fc3755df4ea
treec8717df91dfedb5b4d029be6caddd3683ebb6c70
parente9c0e5559bbadb164d7c57b5a47b5544746dcb89
bpo-29554: Improve docs for pstat module and profile. (#88) (#227)

Clarify that methods take a string which is interpreted as a regex,
not a regex object.

Also clarify what the old `-1`, `0`, `1` and `2` options were.

(cherry picked from commit 8fb1f6e039cbdeb333d83b7a62f0f37af4ce6e02)
Doc/library/profile.rst
Lib/pstats.py