On this page
  1. gc.get_debug
  2. Import
  3. Signature & Overview
  4. Usage
  5. Gotchas
  6. REPL Inspect

gc.get_debug

Prev: gc.get_count | Up: gc | Next: gc.get_freeze_count
Rel: gc.collect, gc.disable, gc.enable, gc.freeze
Ref: docs.python.org — gc.get_debug
Tags: #public #python3 #stdlib #gc


Import

import gc
from gc import get_debug

Signature & Overview

gc.get_debug()

Get the garbage collection debugging flags.

Usage

import gc

assert isinstance(gc.get_debug(), int)

Gotchas

REPL Inspect

from gc import get_debug
help(get_debug)

Linked from

Related notes