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