Commit 334a7383 authored by Stefan Behnel's avatar Stefan Behnel

Remove a dead Py<2.6 workaround for tuples previously not having an .index() method.

parent 366f49a0
......@@ -4511,10 +4511,9 @@ rank_to_type_name = (
"long double", # 7
)
_rank_to_type_name = list(rank_to_type_name)
RANK_INT = _rank_to_type_name.index('int')
RANK_LONG = _rank_to_type_name.index('long')
RANK_FLOAT = _rank_to_type_name.index('float')
RANK_INT = rank_to_type_name.index('int')
RANK_LONG = rank_to_type_name.index('long')
RANK_FLOAT = rank_to_type_name.index('float')
UNSIGNED = 0
SIGNED = 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment