Skip to content

Commit 0cb5398

Browse files
fix sphinx issue and add note to docs
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 3e41069 commit 0cb5398

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

buildconfig/stubs/pygame/transform.pyi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,5 +480,7 @@ def pixelate(
480480
481481
:returns: A new surface that's been pixelated.
482482
483-
..versionadded:: 2.5.6
483+
.. versionadded:: 2.5.6
484+
.. note::
485+
``pixel_size`` must be >= 1. A ``ValueError`` is raised otherwise.
484486
"""

0 commit comments

Comments
 (0)