# Documentation https://docs.python.org/3/library/profile.html The following example is given in the Instant User's Manual section: ``` 214 function calls (207 primitive calls) in 0.002 seconds Ordered by: cumulative time ncalls tottime percall cumtime percall filename:lineno(function) 1 0.000 0.000 0.002 0.002 {built-in method builtins.exec} 1 0.000 0.000 0.001 0.001 <string>:1(<module>) 1 0.000 0.000 0.001 0.001 __init__.py:250(compile) 1 0.000 0.000 0.001 0.001 __init__.py:289(_compile) 1 0.000 0.000 0.000 0.000 _compiler.py:759(compile) 1 0.000 0.000 0.000 0.000 _parser.py:937(parse) 1 0.000 0.000 0.000 0.000 _compiler.py:598(_code) 1 0.000 0.000 0.000 0.000 _parser.py:435(_parse_sub) ``` however in the description of the example: `The next line: Ordered by: cumulative name, indicates ...` Which does not match the example <!-- gh-linked-prs --> ### Linked PRs * gh-103074 * gh-103201 <!-- /gh-linked-prs -->
Activity
hugovk commentedon Mar 24, 2023
Thanks for the report, would you like to create a PR to fix it?
The file to edit is https://github.com/python/cpython/blob/main/Doc/library/profile.rst
fixes python#102994
gh-102994: Profile docs has typo in example (#103074)
pythongh-102994: Profile docs has typo in example (pythonGH-103074)
gh-102994: Profile docs has typo in example (GH-103074)
pythongh-102994: Profile docs has typo in example (python#103074)
pythongh-102994: Profile docs has typo in example (python#103074)