소스 검색

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]