Files
sourcehub/.venv/Lib/site-packages/pydantic/_internal/_internal_dataclass.py
T
2026-09-14 23:22:10 +09:00

8 lines
144 B
Python

import sys
# `slots` is available on Python >= 3.10
if sys.version_info >= (3, 10):
slots_true = {'slots': True}
else:
slots_true = {}