Skip to content

Commit f7745e1

Browse files
rixxmethane
authored andcommitted
bpo-27902: Add compatibility note to Profile docs (GH-7295)
1 parent b75ec08 commit f7745e1

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

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

0 commit comments

Comments
 (0)