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.
broken-collections-callable
1 parent b19ea92 commit 19a3711Copy full SHA for 19a3711
doc/data/messages/b/broken-collections-callable/bad.py
@@ -0,0 +1,6 @@
1
+from collections.abc import Callable
2
+from typing import Optional
3
+
4
5
+def func() -> Optional[Callable[[int], None]]: # [broken-collections-callable]
6
+ ...
doc/data/messages/b/broken-collections-callable/good.py
@@ -0,0 +1,5 @@
+from typing import Callable, Optional
+def func() -> Optional[Callable[[int], None]]:
doc/data/messages/b/broken-collections-callable/pylintrc
@@ -0,0 +1,3 @@
+[master]
+py-version=3.9
+load-plugins=pylint.extensions.typing
doc/data/messages/b/broken-collections-callable/related.rst
@@ -0,0 +1 @@
+- `bpo-42965 <https://bugs.python.org/issue42965>`_
0 commit comments