@@ -40,8 +40,9 @@ class FooterColumnCountMismatchError(ColumnCountMismatchError):
4040 This class is a subclass of :class:`ColumnCountMismatchError`.
4141
4242 Attributes:
43- footer (Sequence[SupportsStr]): The footer that caused the error
44- expected_columns (int): The number of columns that were expected
43+ footer (:class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]):
44+ The footer that caused the error
45+ expected_columns (:class:`int`): The number of columns that were expected
4546 """
4647
4748 def __init__ (self , footer : Sequence [SupportsStr ], expected_columns : int ):
@@ -63,9 +64,11 @@ class BodyColumnCountMismatchError(ColumnCountMismatchError):
6364 This class is a subclass of :class:`ColumnCountMismatchError`.
6465
6566 Attributes:
66- body (Sequence[Sequence[SupportsStr]]): The body that caused the error
67- expected_columns (int): The number of columns that were expected
68- first_invalid_row (Sequence[SupportsStr]): The first row with an invalid column count
67+ body (:class:`Sequence <collections.abc.Sequence>`\ [\ :class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]]):
68+ The body that caused the error
69+ expected_columns (:class:`int`): The number of columns that were expected
70+ first_invalid_row (:class:`Sequence <collections.abc.Sequence>`\ [:class:`SupportsStr`]):
71+ The first row with an invalid column count
6972 """
7073
7174 def __init__ (self , body : Sequence [Sequence [SupportsStr ]], expected_columns : int ):
@@ -90,8 +93,9 @@ class AlignmentCountMismatchError(ColumnCountMismatchError):
9093 This class is a subclass of :class:`ColumnCountMismatchError`.
9194
9295 Attributes:
93- alignments (Sequence[Alignment]): The alignments that caused the error
94- expected_columns (int): The number of columns that were expected
96+ alignments (:class:`Sequence <collections.abc.Sequence>`\ [:class:`Alignment`]):
97+ The alignments that caused the error
98+ expected_columns (:class:`int`): The number of columns that were expected
9599 """
96100
97101 def __init__ (self , alignments : Sequence [Alignment ], expected_columns : int ):
@@ -113,8 +117,9 @@ class ColumnWidthsCountMismatchError(ColumnCountMismatchError):
113117 This class is a subclass of :class:`ColumnCountMismatchError`.
114118
115119 Attributes:
116- column_widths (Sequence[Optional[int]]): The column widths that caused the error
117- expected_columns (int): The number of columns that were expected
120+ column_widths (:class:`Sequence <collections.abc.Sequence>`\ [:data:`Optional <typing.Optional>`\ [:class:`int`]]):
121+ The column widths that caused the error
122+ expected_columns (:class:`int`): The number of columns that were expected
118123 """
119124
120125 def __init__ (self , column_widths : Sequence [int | None ], expected_columns : int ):
@@ -148,7 +153,7 @@ class InvalidCellPaddingError(TableOptionError):
148153 This class is a subclass of :class:`TableOptionError`.
149154
150155 Attributes:
151- padding (int): The padding that caused the error
156+ padding (:class:` int` ): The padding that caused the error
152157 """
153158
154159 def __init__ (self , padding : int ):
@@ -169,9 +174,9 @@ class ColumnWidthTooSmallError(TableOptionError):
169174 This class is a subclass of :class:`TableOptionError`.
170175
171176 Attributes:
172- column_index (int): The index of the column that caused the error
173- column_width (int): The column width that caused the error
174- min_width (int): The minimum width that is allowed
177+ column_index (:class:` int` ): The index of the column that caused the error
178+ column_width (:class:` int` ): The column width that caused the error
179+ min_width (:class:` int` ): The minimum width that is allowed
175180 """
176181
177182 def __init__ (self , column_index : int , column_width : int , min_width : int | None = None ):
@@ -208,7 +213,7 @@ class InvalidAlignmentError(TableOptionError):
208213 This class is a subclass of :class:`TableOptionError`.
209214
210215 Attributes:
211- alignment (Any): The alignment value that caused the error
216+ alignment (:data:` Any <typing.Any>` ): The alignment value that caused the error
212217 """
213218
214219 def __init__ (self , alignment : Any ):
@@ -230,8 +235,8 @@ class TableStyleTooLongError(Table2AsciiError, ValueError):
230235 This class is a subclass of :class:`Table2AsciiError` and :class:`ValueError`.
231236
232237 Attributes:
233- string (str): The string that caused the error
234- max_characters (int): The maximum number of characters that are allowed
238+ string (:class:` str` ): The string that caused the error
239+ max_characters (:class:` int` ): The maximum number of characters that are allowed
235240 """
236241
237242 def __init__ (self , string : str , max_characters : int ):
@@ -256,8 +261,8 @@ class TableStyleTooShortWarning(UserWarning):
256261 It can be silenced using :func:`warnings.filterwarnings`.
257262
258263 Attributes:
259- string (str): The string that caused the warning
260- max_characters (int): The number of characters that :class:`TableStyle` accepts
264+ string (:class:` str` ): The string that caused the warning
265+ max_characters (:class:` int` ): The number of characters that :class:`TableStyle` accepts
261266 """
262267
263268 def __init__ (self , string : str , max_characters : int ):
0 commit comments