mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
Forward references resolution implemented for annotations according to PEP 563. Inspections fixed to respect forward references for both annotations and pyi stubs. PyiReferenceResolveProvider removed since its functionality is now implemented by PyForwardReferenceResolveProvider.
9 lines
132 B
Python
9 lines
132 B
Python
from __future__ import annotations
|
|
|
|
class B:
|
|
def f(self, a: A) -> None:
|
|
# <ref>
|
|
pass
|
|
|
|
class A:
|
|
pass |