We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 618dbc3 commit f816a64Copy full SHA for f816a64
conformance/tests/annotations_forward_refs.py
@@ -38,7 +38,7 @@ class ClassA:
38
# The following should all generate errors because they are not legal type
39
# expressions, despite being enclosed in quotes.
40
def invalid_annotations(
41
- p1: "eval(" ".join(map(chr, [105, 110, 116])))", # E
+ p1: "eval(''.join(map(chr, [105, 110, 116])))", # E
42
p2: "[int, str]", # E
43
p3: "(int, str)", # E
44
p4: "[int for i in range(1)]", # E
0 commit comments