parameters: (state)
docstring: Set status of garbage collector
docstring_summary: Set status of garbage collector
docstring_tokens: Set status of garbage collector
function: def set_gc_state(state):
      """ Set status of garbage collector """
      if gc.isenabled() == state:
          return
      if state:
          gc.enable()
      else:
          gc.disable()
function_tokens: def set_gc_state ( state ) : if gc . isenabled ( ) == state : return if state : gc . enable ( ) else : gc . disable ( )