Skip to content

Commit 134bb46

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 5f0726a commit 134bb46

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
@@ -333,11 +333,12 @@ Analysis of the profiler data is done using the :class:`~pstats.Stats` class.
333333
corresponding version of :mod:`profile` or :mod:`cProfile`. To be specific,
334334
there is *no* file compatibility guaranteed with future versions of this
335335
profiler, and there is no compatibility with files produced by other
336-
profilers. If several files are provided, all the statistics for identical
337-
functions will be coalesced, so that an overall view of several processes can
338-
be considered in a single report. If additional files need to be combined
339-
with data in an existing :class:`~pstats.Stats` object, the
340-
:meth:`~pstats.Stats.add` method can be used.
336+
profilers, or the same profiler run on a different operating system. If
337+
several files are provided, all the statistics for identical functions will
338+
be coalesced, so that an overall view of several processes can be considered
339+
in a single report. If additional files need to be combined with data in an
340+
existing :class:`~pstats.Stats` object, the :meth:`~pstats.Stats.add` method
341+
can be used.
341342

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

0 commit comments

Comments
 (0)