Skip to content

Commit 101c0c2

Browse files
committed
bool_t: reconverted from string to annotation as per review
1 parent 99f35c3 commit 101c0c2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pandas/core/generic.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7576,8 +7576,8 @@ def between_time(
75767576
start_time,
75777577
end_time,
75787578
inclusive="both",
7579-
include_start="bool_t",
7580-
include_end="bool_t",
7579+
include_start=bool_t,
7580+
include_end=bool_t,
75817581
axis=None,
75827582
) -> FrameOrSeries:
75837583
"""
@@ -7648,16 +7648,16 @@ def between_time(
76487648
raise TypeError("Index must be DatetimeIndex")
76497649

76507650
# if depreciated arguments ('include_start', 'include_end') have been passed
7651-
if (include_start != 'bool_t') or (include_start != 'bool_t'):
7651+
if (include_start != bool_t) or (include_start != bool_t):
76527652
warnings.warn(
76537653
"`include_start` and `include_end` are deprecated in"
76547654
"favour of `inclusive`.",
76557655
FutureWarning,
76567656
stacklevel=2,
76577657
)
7658-
if include_start == 'bool_t':
7658+
if include_start == bool_t:
76597659
include_start = True
7660-
if include_end == 'bool_t':
7660+
if include_end == bool_t:
76617661
include_end = True
76627662
else: # if depreciated args haven't been passed
76637663
if inclusive == "both":

0 commit comments

Comments
 (0)