Skip to content

Commit 9536495

Browse files
committed
Added references to python#5768 next to the commented out numpy imports.
1 parent cd6001f commit 9536495

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

stubs/pycocotools/pycocotools/coco.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ from typing_extensions import Literal, TypeAlias
55

66
from .coco_types import _RLE, _Annotation, _AnnotationG, _Category, _Dataset, _EncodedRLE, _Image, _TPolygonSegmentation
77

8+
# TODO: Use numpy types when #5768 is resolved.
89
# import numpy as np
910
# import numpy.typing as npt
1011

stubs/pycocotools/pycocotools/coco_types.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ from _typeshed import Incomplete
22
from typing import Generic, TypeVar
33
from typing_extensions import TypeAlias, TypedDict
44

5+
# TODO: Use numpy types when #5768 is resolved.
56
# import numpy as np
67
# import numpy.typing as npt
78

stubs/pycocotools/pycocotools/cocoeval.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ from typing_extensions import Literal, TypeAlias
44
from .coco import COCO
55
from .coco_types import _EvaluationResult
66

7+
# TODO: Use numpy types when #5768 is resolved.
78
# import numpy as np
89
# import numpy.typing as npt
910

stubs/pycocotools/pycocotools/mask.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ from typing_extensions import TypeAlias
44

55
from .coco_types import _EncodedRLE
66

7+
# TODO: Use numpy types when #5768 is resolved.
78
# import numpy as np
89
# import numpy.typing as npt
910

0 commit comments

Comments
 (0)