From ea8ece06f89e0bed7742aac3ccea33c6aa214230 Mon Sep 17 00:00:00 2001 From: pbrod Date: Sun, 29 Nov 2015 17:42:09 +0100 Subject: [PATCH] Python3 support: Replaced print statements with print(...) --- wafo/misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wafo/misc.py b/wafo/misc.py index 6c8c7d5..b73e485 100644 --- a/wafo/misc.py +++ b/wafo/misc.py @@ -3299,14 +3299,14 @@ def profile_main1(): import pstats prof = cProfile.Profile() prof = prof.runctx("real_main()", globals(), locals()) - print "
"
+    print("
")
     stats = pstats.Stats(prof)
     stats.sort_stats("time")  # Or cumulative
     stats.print_stats(80)  # 80 = how many to print
     # The rest is optional.
     # stats.print_callees()
     # stats.print_callers()
-    print "
" + print("
") main = profile_main1