diff -r c8ecd96cc357 -r c5853c9a6545 mercurial/statprof.py --- a/mercurial/statprof.py Sun Dec 10 04:48:59 2017 +0530 +++ b/mercurial/statprof.py Sun Dec 10 04:49:29 2017 +0530 @@ -922,7 +922,7 @@ load_data(path=path) - display(**displayargs) + display(**pycompat.strkwargs(displayargs)) return 0