From 147c591939fc16207d6ae456ee405ddbd5c4a28b Mon Sep 17 00:00:00 2001 From: Alex Rice Date: Wed, 27 Nov 2024 08:53:11 +0000 Subject: [PATCH] Update xdsl/irdl/declarative_assembly_format.py Co-authored-by: Sasha Lopoukhine --- xdsl/irdl/declarative_assembly_format.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xdsl/irdl/declarative_assembly_format.py b/xdsl/irdl/declarative_assembly_format.py index 3b23359fdf..1c5d3a6500 100644 --- a/xdsl/irdl/declarative_assembly_format.py +++ b/xdsl/irdl/declarative_assembly_format.py @@ -609,11 +609,13 @@ class OperandsDirective(VariadicOperandDirective, VariadicTypeableDirective): An operands directive, with the following format: operands-directive ::= operands Prints each operand of the operation, inserting a comma between each. - The variadic_index represents the position of a (single) variadic variable, - with the boolean representing whether it is optional """ variadic_index: tuple[bool, int] | None + """ + Represents the position of a (single) variadic variable, with the boolean + representing whether it is optional + """ def _set_using_variadic_index( self,