Commit facd1907 authored by Mark Lodato's avatar Mark Lodato

freeze: fix cmath.pyx when run as __main__

parent d96b2128
......@@ -20,5 +20,5 @@ if __name__ == "__main__":
if len(sys.argv) != 2:
sys.stderr.write("USAGE: %s n\nPrints n!.\n" % sys.argv[0])
n = map(float, sys.argv[1:])
n, = map(float, sys.argv[1:])
print factorial(n)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment