[docs] [issue29554] profile/pstat doc clariification

Matthias Bussonnier report at bugs.python.org
Tue Feb 14 11:00:59 EST 2017


New submission from Matthias Bussonnier:

profile .rst say:

> Each restriction is either an integer (to select a count of lines), or a decimal fraction between 0.0 and 1.0 inclusive (to select a percentage of lines), **or a regular expression**

Actually it accept a string that will be compiled to a regex.

Profile.py also mention:

> (i.e., in addition to the old -1, 0, 1, or 2)

Which is not really helpful, to newcomers to Python who do not know what these are meant to be. Either explaining (or removing if considered old behavior that should be stopped) seem to be better alternative.

See https://github.com/python/cpython/pull/88

----------
assignee: docs at python
components: Documentation
messages: 287778
nosy: docs at python, mbussonn
priority: normal
severity: normal
status: open
title: profile/pstat doc clariification
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29554>
_______________________________________


More information about the docs mailing list