From facd1907db14bc12e7824b27dfc23f87baa0cba2 Mon Sep 17 00:00:00 2001 From: Mark Lodato Date: Mon, 5 Oct 2009 21:37:12 -0400 Subject: [PATCH] freeze: fix cmath.pyx when run as __main__ --- Demos/freeze/cmath.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Demos/freeze/cmath.pyx b/Demos/freeze/cmath.pyx index cc3f0521..d94bb1f2 100644 --- a/Demos/freeze/cmath.pyx +++ b/Demos/freeze/cmath.pyx @@ -20,5 +20,5 @@ if __name__ == "__main__": if len(sys.argv) != 2: sys.stderr.write("USAGE: %s n\nPrints n!.\n" % sys.argv[0]) sys.exit(1) - n = map(float, sys.argv[1:]) + n, = map(float, sys.argv[1:]) print factorial(n) -- 2.26.2