Skip to content

Commit 6f92522

Browse files
committed
Change two uncertain allow_unpack=True kwargs to TODO comments
1 parent 591f377 commit 6f92522

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypy/semanal_typeddict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def analyze_typeddict_classdef_fields(
324324
analyzed = self.api.anal_type(
325325
stmt.type,
326326
allow_required=True,
327-
allow_unpack=True,
327+
# TODO allow_unpack=True ?
328328
allow_placeholder=not self.api.is_func_scope(),
329329
prohibit_self_type="TypedDict item type",
330330
)
@@ -529,7 +529,7 @@ def parse_typeddict_fields_with_types(
529529
analyzed = self.api.anal_type(
530530
type,
531531
allow_required=True,
532-
allow_unpack=True,
532+
# TODO allow_unpack=True ?
533533
allow_placeholder=not self.api.is_func_scope(),
534534
prohibit_self_type="TypedDict item type",
535535
)

0 commit comments

Comments
 (0)