@@ -98,7 +98,7 @@ def level_count(self) -> int:
9898
9999 @property
100100 def level_dimensions (self ) -> tuple [tuple [int , int ], ...]:
101- """A list of (width, height) tuples, one for each level of the image.
101+ """A tuple of (width, height) tuples, one for each level of the image.
102102
103103 level_dimensions[n] contains the dimensions of level n."""
104104 raise NotImplementedError
@@ -110,7 +110,7 @@ def dimensions(self) -> tuple[int, int]:
110110
111111 @property
112112 def level_downsamples (self ) -> tuple [float , ...]:
113- """A list of downsampling factors for each level of the image.
113+ """A tuple of downsampling factors for each level of the image.
114114
115115 level_downsample[n] contains the downsample factor of level n."""
116116 raise NotImplementedError
@@ -217,7 +217,7 @@ def level_count(self) -> int:
217217
218218 @property
219219 def level_dimensions (self ) -> tuple [tuple [int , int ], ...]:
220- """A list of (width, height) tuples, one for each level of the image.
220+ """A tuple of (width, height) tuples, one for each level of the image.
221221
222222 level_dimensions[n] contains the dimensions of level n."""
223223 return tuple (
@@ -226,7 +226,7 @@ def level_dimensions(self) -> tuple[tuple[int, int], ...]:
226226
227227 @property
228228 def level_downsamples (self ) -> tuple [float , ...]:
229- """A list of downsampling factors for each level of the image.
229+ """A tuple of downsampling factors for each level of the image.
230230
231231 level_downsample[n] contains the downsample factor of level n."""
232232 return tuple (
@@ -402,7 +402,7 @@ def level_count(self) -> Literal[1]:
402402
403403 @property
404404 def level_dimensions (self ) -> tuple [tuple [int , int ]]:
405- """A list of (width, height) tuples, one for each level of the image.
405+ """A tuple of (width, height) tuples, one for each level of the image.
406406
407407 level_dimensions[n] contains the dimensions of level n."""
408408 if self ._image is None :
@@ -411,7 +411,7 @@ def level_dimensions(self) -> tuple[tuple[int, int]]:
411411
412412 @property
413413 def level_downsamples (self ) -> tuple [float ]:
414- """A list of downsampling factors for each level of the image.
414+ """A tuple of downsampling factors for each level of the image.
415415
416416 level_downsample[n] contains the downsample factor of level n."""
417417 return (1.0 ,)
0 commit comments