Show More
@@ -234,7 +234,7 b' def unpacker(fmt):' | |||||
234 | try: |
|
234 | try: | |
235 | # 2.5+ |
|
235 | # 2.5+ | |
236 | return struct.Struct(fmt).unpack |
|
236 | return struct.Struct(fmt).unpack | |
237 |
except |
|
237 | except AttributeError: | |
238 | # 2.4 |
|
238 | # 2.4 | |
239 | return lambda buf: struct.unpack(fmt) |
|
239 | return lambda buf: struct.unpack(fmt) | |
240 |
|
240 |
General Comments 0
You need to be logged in to leave comments.
Login now