diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-24 22:32:48 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-24 22:32:48 +0900 |
commit | 6d225e65e158e6547cb863d5558e955b3355449d (patch) | |
tree | 5fa5a62db33edc47242886a852b82336d53bf686 /debian/pyrex/pyrex-0.9.9/Demos/pyprimes.py | |
parent | 2950a7d84514b9b2d9916afb06ff05fdabab3be7 (diff) | |
download | extra-dependencies-6d225e65e158e6547cb863d5558e955b3355449d.tar.gz extra-dependencies-6d225e65e158e6547cb863d5558e955b3355449d.zip |
Removed pyrex, which is no longer required
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/pyrex/pyrex-0.9.9/Demos/pyprimes.py')
-rw-r--r-- | debian/pyrex/pyrex-0.9.9/Demos/pyprimes.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/debian/pyrex/pyrex-0.9.9/Demos/pyprimes.py b/debian/pyrex/pyrex-0.9.9/Demos/pyprimes.py deleted file mode 100644 index edcce852..00000000 --- a/debian/pyrex/pyrex-0.9.9/Demos/pyprimes.py +++ /dev/null @@ -1,13 +0,0 @@ -def primes(kmax): - p = [] - k = 0 - n = 2 - while k < kmax: - i = 0 - while i < k and n % p[i] <> 0: - i = i + 1 - if i == k: - p.append(n) - k = k + 1 - n = n + 1 - return p |