diff options
Diffstat (limited to 'Tools/build/deepfreeze.py')
-rw-r--r-- | Tools/build/deepfreeze.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/build/deepfreeze.py b/Tools/build/deepfreeze.py index aba5fec..5cfef5c 100644 --- a/Tools/build/deepfreeze.py +++ b/Tools/build/deepfreeze.py @@ -142,7 +142,7 @@ class Printer: def object_head(self, typename: str) -> None: with self.block(".ob_base =", ","): - self.write(f".ob_refcnt = 999999999,") + self.write(f".ob_refcnt = _Py_IMMORTAL_REFCNT,") self.write(f".ob_type = &{typename},") def object_var_head(self, typename: str, size: int) -> None: |