Skip to content

Commit

Permalink
refactor: drop unused if (#2543)
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Jun 27, 2023
1 parent 5543a01 commit f2783ba
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/awkward/contents/numpyarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -674,9 +674,7 @@ def _as_unique_strings(self, offsets):

def _numbers_to_type(self, name, including_unknown):
if (
self.parameter("__array__") == "string"
or self.parameter("__array__") == "bytestring"
or self.parameter("__array__") == "char"
self.parameter("__array__") == "char"
or self.parameter("__array__") == "byte"
):
return self
Expand Down

0 comments on commit f2783ba

Please sign in to comment.