class_docstr: A list of prime numbers, implemented as a dynamically
  growing sieve of Eratosthenes. When a lookup is requested involving
  an odd number that has not been sieved, the sieve is automatically
  extended up to that number. Implementation details limit the number of
  primes to ``2^32-1``.
  
  Examples
  ========
  
  >>> from sympy import sieve
  >>> sieve._reset() # this line for doctest only
  >>> 25 in sieve
  False
  >>> sieve._list
  array('L', [2, 3, 5, 7, 11, 13, 17, 19, 23])
class_docstr_tok: ["A","list","of","prime","numbers",",","implemented","as","a","dynamically","growing","sieve","of","Eratosthenes",".","When","a","lookup","is","requested","involving","an","odd","number","that","has","not","been","sieved",",","the","sieve","is","automatically","extended","up","to","that","number",".","Implementation","details","limit","the","number","of","primes","to","``","2^32-1","``",".","Examples","========",">",">",">","from","sympy","import","sieve",">",">",">","sieve._reset","(",")","#","this","line","for","doctest","only",">",">",">","25","in","sieve","False",">",">",">","sieve._list","array","(","'","L","'",",","[","2",",","3",",","5",",","7",",","11",",","13",",","17",",","19",",","23","]",")"]
docstr: Reset all caches (default). To reset one or more set the
  desired keyword to True.
docstr_tok: ["Reset","all","caches","(","default",")",".","To","reset","one","or","more","set","the","desired","keyword","to","True","."]
code: def _reset(self, prime=None, totient=None, mobius=None):
      """Reset all caches (default). To reset one or more set the
      desired keyword to True."""
      if all(i is None for i in (prime, totient, mobius)):
          prime = totient = mobius = True
      if prime:
          self._list = self._list[: self._n]
      if totient:
          self._tlist = self._tlist[: self._n]
      if mobius:
          self._mlist = self._mlist[: self._n]
  
imports: from bisect import bisect, bisect_left
  from itertools import count
  from array import array
  from sympy.core.function import Function
  from sympy.core.random import randint
  from sympy.core.singleton import S
  from sympy.external.gmpy import sqrt
  from .primetest import isprime
  from sympy.utilities.misc import as_int
label_desc: Use image node_id 3 for calling the Sieve obj's underlying member method code with example usage: obj._reset(prime, totient, mobius) without return types