Skip to content

Commit ed821b6

Browse files
committed
Remove redundant type from type union
1 parent 293078c commit ed821b6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

buildconfig/stubs/pygame/geometry.pyi

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ from typing import (
1010

1111
from pygame import Rect, FRect
1212
from pygame.typing import Point, RectLike, SequenceLike
13-
from .math import Vector2
1413

1514
_CanBeCircle = Union[Circle, Tuple[Point, float], SequenceLike[float]]
1615
_CanBeLine = Union[
@@ -36,7 +35,7 @@ class _HasLineAttribute(Protocol):
3635

3736
_LineValue = Union[_CanBeLine, _HasLineAttribute]
3837

39-
_CanBeCollided = Union[Circle, Rect, FRect, Point, Vector2]
38+
_CanBeCollided = Union[Circle, Rect, FRect, Point]
4039
_CanBeIntersected = Union[Circle]
4140

4241
class Circle:

0 commit comments

Comments
 (0)