-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
6.x
-
None
-
-
d33bdcd00 (dev), 9554a0eab (6.9), 1eda086b2 (tqtc/lts-6.8)
In PySide6 <=6.9.0, `from _future_ import annotations` was added before the docstrings in the type stubs, causing the docstring to not show up in editors. This was finally fixed in 6.9.1 (I was about to open an issue before noticing that ^^).
But, `from _future_ import annotations` does nothing in type stubs (checkers in stubs already assume lazy / forward and circular references are possible). I simply wouldn't bother including it in the generation it at all.
Refs: