[all-commits] [llvm/llvm-project] 373771: Slightly improved ir.pyi type annotations (#76728)

Sergei Lebedev via All-commits all-commits at lists.llvm.org
Thu Jan 4 00:50:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3737712daeef9581e6388fad24f4fb56d89ce032
      https://github.com/llvm/llvm-project/commit/3737712daeef9581e6388fad24f4fb56d89ce032
  Author: Sergei Lebedev <185856+superbobry at users.noreply.github.com>
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
    M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi

  Log Message:
  -----------
  Slightly improved ir.pyi type annotations (#76728)

* Replaced `Any` with static types where appropriate
* Removed undocumented `__str__` and `__repr__` -- these are always
defined via `object`




More information about the All-commits mailing list