🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
939
stars
155
forks
source link
Minor fixes and changes to `geometry.pyi` stub file #3172
Closed
aatle closed 1 month ago
Improved some stuff.
_CanBeCircle
,_CanBeLine
. These internal types provide little benefit, and a similar union_CanBeRect
was removed previously._CircleValue
->_CircleLike
,_LineValue
->_LineLike
, to be consistent withRectLike
, adhere to naming scheme._HasCirclettribute
->_HasCircleAttribute
Vector2
type from_CanBeCollided
.Vector2
is clearly implied byPoint
.Circle.contains(shape)
parameter positional-only