瀏覽代碼

Merge pull request #6 from cjstep/patch-1

Add closing paren to tuple expression
Joe Crobak 10 年之前
父節點
當前提交
b7284a412c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      parquet/bitstring.py

+ 1 - 1
parquet/bitstring.py

@@ -16,5 +16,5 @@ class BitString(object):
 		except AttributeError:
 			if key < 0 or key >= length:
 				raise IndexError()
-			byte_index, bit_offset = divmod(self.offset + key), 8)
+			byte_index, bit_offset = (divmod(self.offset + key), 8)
 			return self.bytes[byte_index] & SINGLE_BIT_MASK[bit_offset]