Skip to content

Commit a6f842c

Browse files
committed
[stubgenc] Add Callable to _DEFAULT_TYPING_IMPORTS
1 parent 723c4a8 commit a6f842c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/stubgenc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
infer_arg_sig_from_anon_docstring, infer_ret_type_sig_from_anon_docstring, FunctionSig
1818
)
1919

20-
2120
# Members of the typing module to consider for importing by default.
2221
_DEFAULT_TYPING_IMPORTS = (
2322
'Any',
@@ -26,6 +25,7 @@
2625
'Iterator',
2726
'List',
2827
'Optional',
28+
'Callable',
2929
'Tuple',
3030
'Union',
3131
)

0 commit comments

Comments
 (0)