Skip to content

Commit 21bc5fa

Browse files
authored
Apply suggestion from @lucascolley
1 parent 053a0bc commit 21bc5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

array_api_compat/common/_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def your_function(x, y):
678678
namespaces = unique_namespaces
679679

680680
try:
681-
(xp,) = tuple(namespaces)
681+
(xp,) = namespaces
682682
return xp
683683
except ValueError:
684684
if not namespaces:

0 commit comments

Comments
 (0)