summaryrefslogtreecommitdiffstats
path: root/Lib/test/dataclass_module_2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/dataclass_module_2.py')
-rw-r--r--Lib/test/dataclass_module_2.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/dataclass_module_2.py b/Lib/test/dataclass_module_2.py
index 8d120d1..68fb733 100644
--- a/Lib/test/dataclass_module_2.py
+++ b/Lib/test/dataclass_module_2.py
@@ -1,3 +1,9 @@
+#from __future__ import annotations
+USING_STRINGS = False
+
+# dataclass_module_2.py and dataclass_module_2_str.py are identical
+# except only the latter uses string annotations.
+
from dataclasses import dataclass, InitVar
from typing import ClassVar