From 600c21a233a6d3c17675c219e4d9f6397a4b7a0f Mon Sep 17 00:00:00 2001 From: Patrick Nicodemus Date: Fri, 7 Jun 2024 10:15:33 -0400 Subject: [PATCH] Update stats_scipy_get_distributions.py (#667) "print x" no longer works in Python 3, in Python 3 it is "print(x)". I haven't tested the script to work with Python 3, right now my concern is just getting it to parse. --- test/stats_scipy_get_distributions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/stats_scipy_get_distributions.py b/test/stats_scipy_get_distributions.py index 1afb98457..e6cd62e4a 100644 --- a/test/stats_scipy_get_distributions.py +++ b/test/stats_scipy_get_distributions.py @@ -379,7 +379,7 @@ def show_dist(d): pass result +="|] \n" result +=");\n" - print result + print(result) pass distributions = [ @@ -474,10 +474,10 @@ def show_dist(d): chi2(df=30.), ] -print "module M = Owl_stats" -print "let cdf_approximations = M.[" +print("module M = Owl_stats") +print("let cdf_approximations = M.[") for d in distributions: show_dist(d) pass -print "]" +print("]")