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

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