Skip to content

Commit 8e582fa

Browse files
committed
try using _tzinfo
1 parent 21c6f6b commit 8e582fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas-stubs/_typing.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ from collections.abc import (
88
Sequence,
99
)
1010
import datetime
11-
from datetime import tzinfo
11+
from datetime import tzinfo as _tzinfo
1212
from os import PathLike
1313
from re import Pattern
1414
import sys
@@ -833,6 +833,6 @@ TimeGrouperOrigin: TypeAlias = (
833833
ExcelReadEngine: TypeAlias = Literal["xlrd", "openpyxl", "odf", "pyxlsb", "calamine"]
834834
ExcelWriteEngine: TypeAlias = Literal["openpyxl", "odf", "xlsxwriter"]
835835

836-
TimeZones: TypeAlias = str | tzinfo | None | int
836+
TimeZones: TypeAlias = str | _tzinfo | None | int
837837

838838
__all__ = ["npt", "type_t"]

0 commit comments

Comments
 (0)