Skip to content

Commit cb63c69

Browse files
committed
Fix for Python 3.11
Signed-off-by: Louis Mandel <[email protected]>
1 parent 0289e4a commit cb63c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pdl/pdl_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ def process_contribution(
11221122
scope: ScopeType,
11231123
loc: PdlLocationType,
11241124
) -> tuple[ScopeType, ContributeElement]:
1125-
if elem in ContributeTarget:
1125+
if elem in set(ContributeTarget):
11261126
return scope, elem
11271127
if isinstance(elem, str):
11281128
target = elem

0 commit comments

Comments
 (0)