================
@@ -668,43 +667,43 @@ class CursorKind(BaseEnumeration):
     """
 
     @staticmethod
-    def get_all_kinds():
+    def get_all_kinds() -> list[CursorKind]:
----------------
Endilll wrote:

The syntax is allowed, but
> Usefulness of this syntax before [PEP 585](https://peps.python.org/pep-0585/) 
> is limited as external tooling like Mypy does not recognize standard 
> collections as generic.

It could be the case that the tooling has changed in the meantime, though.

https://github.com/llvm/llvm-project/pull/173845
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to