Skip to content

Commit 27d8a29

Browse files
author
MarcoGorelli
committed
rename variable shadowed by global scope
1 parent 8ca6d88 commit 27d8a29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/_libs/tslibs/timestamps.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ from cpython.datetime cimport ( # alias bc `tzinfo` is a kwarg below
2828
PyTZInfo_Check,
2929
datetime,
3030
import_datetime,
31-
time,
31+
time as dt_time,
3232
tzinfo as tzinfo_type,
3333
)
3434
from cpython.object cimport (
@@ -120,7 +120,7 @@ from pandas._libs.tslibs.tzconversion cimport (
120120

121121
# ----------------------------------------------------------------------
122122
# Constants
123-
_zero_time = time(0, 0)
123+
_zero_time = dt_time(0, 0)
124124
_no_input = object()
125125

126126
# ----------------------------------------------------------------------

0 commit comments

Comments
 (0)