Skip to content

Commit

Permalink
Remove unused typed.Dict cast
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartarchibald committed Jul 15, 2020
1 parent d32c32a commit 120ffce
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions numba/typed/dictobject.py
Original file line number Diff line number Diff line change
Expand Up @@ -1300,9 +1300,3 @@ def cast_LiteralStrKeyDict_LiteralStrKeyDict(context, builder, fromty, toty,
items = [context.cast(builder, v, f, t)
for v, f, t in zip(olditems, fromty, toty)]
return context.make_tuple(builder, toty, items)


@lower_cast(types.DictType, types.DictType)
def cast_DictType_DictType(context, builder, fromty, toty, val):
# should have been picked up by typing
return val

0 comments on commit 120ffce

Please sign in to comment.