Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8020f78 commit f8fc26eCopy full SHA for f8fc26e
1 file changed
mypy/stubtest.py
@@ -856,7 +856,7 @@ def verify_funcitem(
856
stub_sig = Signature.from_funcitem(stub)
857
runtime_sig = Signature.from_inspect_signature(signature)
858
runtime_sig_desc = f'{"async " if runtime_is_coroutine else ""}def {signature}'
859
- stub_desc = f"def {stub_sig!r}"
+ stub_desc = str(stub_sig)
860
else:
861
runtime_sig_desc, stub_desc = None, None
862
0 commit comments