diff options
author | Sanyam Khurana <8039608+CuriousLearner@users.noreply.github.com> | 2017-11-08 10:50:56 (GMT) |
---|---|---|
committer | Antoine Pitrou <pitrou@free.fr> | 2017-11-08 10:50:56 (GMT) |
commit | 7973e279a21999f134aff92dd6d344ec4591fae9 (patch) | |
tree | f8007dd3dac2f7cbf905f45ccd148cf4b5a1fd9a /Doc/whatsnew/3.7.rst | |
parent | 4fc4defd1c9bd667635ba4080404e7aa3fcd49ea (diff) | |
download | cpython-7973e279a21999f134aff92dd6d344ec4591fae9.zip cpython-7973e279a21999f134aff92dd6d344ec4591fae9.tar.gz cpython-7973e279a21999f134aff92dd6d344ec4591fae9.tar.bz2 |
bpo-21862: Add -m option to cProfile for profiling modules (#4297)
* bpo-21862: Add -m option to cProfile for profiling modules
Diffstat (limited to 'Doc/whatsnew/3.7.rst')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index af722be..9ac7c9d 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -255,6 +255,12 @@ contextlib :func:`contextlib.asynccontextmanager` has been added. (Contributed by Jelle Zijlstra in :issue:`29679`.) +cProfile +-------- + +cProfile command line now accepts `-m module_name` as an alternative to +script path. (Contributed by Sanyam Khurana in :issue:`21862`.) + crypt ----- |