Skip to content

Commit 9fbf01a

Browse files
TYP: check_untyped_defs core.computation.expressions (#36917)
1 parent b58ee57 commit 9fbf01a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pandas/core/computation/expressions.py

+1
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ def where(cond, a, b, use_numexpr=True):
248248
use_numexpr : bool, default True
249249
Whether to try to use numexpr.
250250
"""
251+
assert _where is not None
251252
return _where(cond, a, b) if use_numexpr else _where_standard(cond, a, b)
252253

253254

setup.cfg

-3
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,6 @@ check_untyped_defs=False
154154
[mypy-pandas.core.computation.expr]
155155
check_untyped_defs=False
156156

157-
[mypy-pandas.core.computation.expressions]
158-
check_untyped_defs=False
159-
160157
[mypy-pandas.core.computation.ops]
161158
check_untyped_defs=False
162159

0 commit comments

Comments
 (0)