Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
An infinite list of prime numbers, implemented as a dynamically
growing sieve of Eratosthenes. When a lookup is requested involving
a number that has not been sieved, the sieve is automatically
extended up to that number.

src/s/y/sympy-HEAD/sympy/utilities/tests/test_pickling.py   sympy(Download)
 
#================== ntheory =====================
from sympy.ntheory.generate import Sieve
 
 
def test_ntheory():
    for c in (Sieve, Sieve()):

src/s/y/sympy-polys-HEAD/sympy/utilities/tests/test_pickling.py   sympy-polys(Download)
 
#================== ntheorie ====================
from sympy.ntheory.generate import Sieve
 
def test_ntheory():
    for c in (Sieve, Sieve()):