Skip to content

Commit

Permalink
Merge branch 'daritter-ascii_numpyarray'
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Apr 29, 2015
2 parents e0eee7d + 958dfa6 commit 68c4dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvisa/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ def from_ascii_block(ascii_data, converter='f', separator=',', container=list):
else:
data = separator(ascii_data)

return container(converter(raw_value) for raw_value in data)
return container([converter(raw_value) for raw_value in data])


def to_ascii_block(iterable, converter='f', separator=','):
Expand Down

0 comments on commit 68c4dc2

Please sign in to comment.