Skip to content

Commit 7548a93

Browse files
miss-islingtonrixx
andauthored
bpo-27902: Add compatibility note to Profile docs (GH-7295)
(cherry picked from commit f7745e1) Co-authored-by: Tobias Kunze <[email protected]>
1 parent d2c6ecc commit 7548a93

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Doc/library/profile.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,12 @@ Analysis of the profiler data is done using the :class:`~pstats.Stats` class.
317317
corresponding version of :mod:`profile` or :mod:`cProfile`. To be specific,
318318
there is *no* file compatibility guaranteed with future versions of this
319319
profiler, and there is no compatibility with files produced by other
320-
profilers. If several files are provided, all the statistics for identical
321-
functions will be coalesced, so that an overall view of several processes can
322-
be considered in a single report. If additional files need to be combined
323-
with data in an existing :class:`~pstats.Stats` object, the
324-
:meth:`~pstats.Stats.add` method can be used.
320+
profilers, or the same profiler run on a different operating system. If
321+
several files are provided, all the statistics for identical functions will
322+
be coalesced, so that an overall view of several processes can be considered
323+
in a single report. If additional files need to be combined with data in an
324+
existing :class:`~pstats.Stats` object, the :meth:`~pstats.Stats.add` method
325+
can be used.
325326

326327
Instead of reading the profile data from a file, a :class:`cProfile.Profile`
327328
or :class:`profile.Profile` object can be used as the profile data source.

0 commit comments

Comments
 (0)