File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,7 @@ from pygame import Rect, FRect
1212from pygame .typing import Point , RectLike , SequenceLike
1313
1414_CanBeCircle = Union [Circle , Tuple [Point , float ], SequenceLike [float ]]
15- _CanBeLine = Union [
16- Line ,
17- SequenceLike [float ],
18- SequenceLike [Point ],
19- ]
15+ _CanBeLine = Union [Line , SequenceLike [float ], SequenceLike [Point ]]
2016
2117class _HasCircleAttribute (Protocol ):
2218 # An object that has a circle attribute that is either a circle, or a function
@@ -32,7 +28,6 @@ class _HasLineAttribute(Protocol):
3228 @property
3329 def line (self ) -> Union [_CanBeLine , Callable [[], _CanBeLine ]]: ...
3430
35-
3631_LineValue = Union [_CanBeLine , _HasLineAttribute ]
3732
3833_CanBeCollided = Union [Circle , Rect , FRect , Point ]
You can’t perform that action at this time.
0 commit comments