Skip to content

Commit de802b7

Browse files
Fix typo.
1 parent 5c848d7 commit de802b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/clinic/libclinic/converters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ def converter_init(
319319
if isinstance(self.default, str):
320320
if len(self.default) != 1:
321321
fail(f"int_converter: illegal default value {self.default!r}")
322-
elif accept == {int}:
322+
elif accept != {int}:
323323
fail(f"int_converter: illegal 'accept' argument {accept!r}")
324324
if type is not None:
325325
self.type = type

0 commit comments

Comments
 (0)