Skip to content

Commit a591078

Browse files
committed
reword comment
1 parent e721b64 commit a591078

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/core/ops.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1199,8 +1199,7 @@ def na_op(x, y):
11991199
except TypeError:
12001200
assert not isinstance(y, (list, ABCSeries, pd.Index))
12011201
if isinstance(y, np.ndarray):
1202-
# This next assertion is here because there used to be
1203-
# a branch that specifically caught this case.
1202+
# bool-bool dtype operations should be OK, should not get here
12041203
assert not (is_bool_dtype(x) and is_bool_dtype(y))
12051204
x = _ensure_object(x)
12061205
y = _ensure_object(y)

0 commit comments

Comments
 (0)