Skip to content

Commit b71089e

Browse files
committed
removed typing
1 parent d0a6572 commit b71089e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pandas/core/reshape/tile.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
from typing import (
55
Any,
66
Callable,
7-
Literal,
8-
Union,
97
)
108

119
import numpy as np
@@ -419,7 +417,7 @@ def _bins_to_cuts(
419417
else:
420418
bins = unique_bins
421419

422-
side: Union[Literal["left"], Literal["right"]] = "left" if right else "right"
420+
side = "left" if right else "right"
423421
ids = ensure_platform_int(bins.searchsorted(x, side=side))
424422

425423
if include_lowest:

0 commit comments

Comments
 (0)