Skip to content

Commit 9c4b81d

Browse files
committed
Remove unnecesary assert statement
1 parent 5a6710c commit 9c4b81d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/computation/expr.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ def _preparse(source, f=_compose(_replace_locals, _replace_booleans,
163163
the ``tokenize`` module and ``tokval`` is a string.
164164
"""
165165
assert callable(f), 'f must be callable'
166-
assert callable(g), 'g must be callable'
167166
return tokenize.untokenize(lmap(f, tokenize_string(g(source))))
168167

169168

0 commit comments

Comments
 (0)