Skip to content

Commit 1f48a95

Browse files
authored
Improved Rect and FRect typing to be more generic and accurate (#2297)
* Fixed Rect and FRect typing to use setters and getters for size and positioning properties * removed docstrings and fixed spacing in rect stub * oops, missed a space * Removed redundant stubs and implemented generics in rect.pyi * satisfied mypy * added back overloads for collidedict and collidedictall, and restored RectValue * removed extraneous import in _commmon.pyi * fixed some miscellaneous typing issues * renamed RectLike and cleaned up imports * re-added explicit imports to satisfy stubcheck
1 parent 5ebf22c commit 1f48a95

File tree

1 file changed

+146
-251
lines changed

1 file changed

+146
-251
lines changed

0 commit comments

Comments
 (0)