[Mlir-commits] [mlir] A few tweaks to the MLIR .pyi files (PR #110488)

Maksim Levental llvmlistbot at llvm.org
Mon Sep 30 18:03:29 PDT 2024


================
@@ -26,15 +25,15 @@ class AttributeType(Type):
   def isinstance(type: Type) -> bool: ...
 
   @staticmethod
-  def get(context: Optional[Context] = None) -> AttributeType: ...
+  def get(context: Context | None = None) -> AttributeType: ...
----------------
makslevental wrote:

I don't have a strong opinion on moving the support window forward - I'm just verifying.

https://github.com/llvm/llvm-project/pull/110488


More information about the Mlir-commits mailing list