ID EN
Sys

is_finalizing

Python 3.11

Return True if the Python interpreter is shutting down, False otherwise.

Syntax

PYTHON
sys.is_finalizing()

See Also

True shutting down False