CPython
CPython attributes
This document defines CPython related attributes.
Attributes:
| Key | Stability | Value Type | Description | Example Values | 
|---|---|---|---|---|
| cpython.gc.generation | int | Value of the garbage collector collection generation. | 0;1;2 | 
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 | |
| 1 | Generation 1 | |
| 2 | Generation 2 | 
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!