Skip to content

Commit

Permalink
simplification suggested by stefan
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman committed Jan 9, 2009
1 parent ff368ca commit ac3523b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions numpy/distutils/system_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,10 @@ def libpaths(paths,bits):
return paths

# Handle 64bit case
out = [None]*(2*len(paths))
out[::2] = paths
out[1::2] = (p+'64' for p in paths)
out = []
for p in paths:
out.extend([p, p+bits])

return out


Expand Down

0 comments on commit ac3523b

Please sign in to comment.