parameters: (bit_generator_name='MT19937')
return_statement: return RandomState(bit_generator())
docstring: Pickling helper function that returns a legacy RandomState-like object
  
      Parameters
      ----------
      bit_generator_name: str
          String containing the core BitGenerator
  
      Returns
      -------
      rs: RandomState
          Legacy RandomState using the named core BitGenerator
docstring_summary: Pickling helper function that returns a legacy RandomState-like object
docstring_tokens: Pickling helper function that returns a legacy RandomState - like object
function: def __randomstate_ctor(bit_generator_name='MT19937'):
      """
      Pickling helper function that returns a legacy RandomState-like object
  
      Parameters
      ----------
      bit_generator_name: str
          String containing the core BitGenerator
  
      Returns
      -------
      rs: RandomState
          Legacy RandomState using the named core BitGenerator
      """
      if bit_generator_name in BitGenerators:
          bit_generator = BitGenerators[bit_generator_name]
      else:
          raise ValueError(str(bit_generator_name) + ' is not a known '
                                                     'BitGenerator module.')
  
      return RandomState(bit_generator())
function_tokens: def __randomstate_ctor ( bit_generator_name = 'MT19937' ) : if bit_generator_name in BitGenerators : bit_generator = BitGenerators [ bit_generator_name ] else : raise ValueError ( str ( bit_generator_name ) + ' is not a known ' 'BitGenerator module.' ) return RandomState ( bit_generator ( ) )