Skip to content

Commit d735f3a

Browse files
committed
Format geometry.pyi
1 parent e1c2335 commit d735f3a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

buildconfig/stubs/pygame/geometry.pyi

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ from pygame import Rect, FRect
1212
from 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

2117
class _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]

0 commit comments

Comments
 (0)