Skip to content

Commit 1483bca

Browse files
authored
[geojson] Change geometry.DEFAULT_PRECISION type from Literal[6] to int (#16336)
1 parent eea32d0 commit 1483bca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stubs/geojson/geojson/geometry.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
from collections.abc import Sequence
22
from decimal import Decimal
3-
from typing import Literal, TypeAlias
3+
from typing import TypeAlias
44

55
from geojson.base import GeoJSON
66

77
_InputCoord: TypeAlias = float | Decimal | Geometry | Sequence[_InputCoord]
88
_CleanCoord: TypeAlias = float | Decimal | list[_CleanCoord]
99

10-
DEFAULT_PRECISION: Literal[6]
10+
DEFAULT_PRECISION: int
1111

1212
class Geometry(GeoJSON):
1313
def __init__(

0 commit comments

Comments
 (0)