Skip to content

Commit 889a1ef

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 a7de148 commit 889a1ef

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

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

0 commit comments

Comments
 (0)