summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSanyam Khurana <8039608+CuriousLearner@users.noreply.github.com>2017-11-08 10:50:56 (GMT)
committerAntoine Pitrou <pitrou@free.fr>2017-11-08 10:50:56 (GMT)
commit7973e279a21999f134aff92dd6d344ec4591fae9 (patch)
treef8007dd3dac2f7cbf905f45ccd148cf4b5a1fd9a /Misc
parent4fc4defd1c9bd667635ba4080404e7aa3fcd49ea (diff)
downloadcpython-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 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2017-11-07-15-19-52.bpo-21862.RwietE.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-11-07-15-19-52.bpo-21862.RwietE.rst b/Misc/NEWS.d/next/Library/2017-11-07-15-19-52.bpo-21862.RwietE.rst
new file mode 100644
index 0000000..6623d19
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2017-11-07-15-19-52.bpo-21862.RwietE.rst
@@ -0,0 +1,2 @@
+cProfile command line now accepts `-m module_name` as an alternative to
+script path. Patch by Sanyam Khurana.