# CPython ## CPython attributes This document defines CPython related attributes. | Attribute | Type | Description | Examples | Stability | |---|---|---|---|---| | `cpython.gc.generation` | int | Value of the garbage collector collection generation. | `0`; `1`; `2` | ![Development](https://img.shields.io/badge/-development-blue) | --- `cpython.gc.generation` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used. | Value | Description | Stability | |---|---|---| | `0` | Generation 0 | ![Development](https://img.shields.io/badge/-development-blue) | | `1` | Generation 1 | ![Development](https://img.shields.io/badge/-development-blue) | | `2` | Generation 2 | ![Development](https://img.shields.io/badge/-development-blue) |