bitio.py
def writebits(self, bits, n):
        '''Writes 'n' least significant bits of integer 'bits', start
        with the most significant of these bits.'''
        while n > 0:
            self.writebit(bits & (1 << (n-1)))
            n -= 1
Writes 'n' least significant bits of integer 'bits', start
        with the most significant of these bits.
Writes 'n' least significant bits of integer 'bits', start
with the most significant of these bits.
Writes ' n ' least significant bits of integer ' bits ' start with the most significant of these bits .
def writebits(self, bits, n):
        while n > 0:
            self.writebit(bits & (1 << (n-1)))
            n -= 1
def writebits ( self , bits , n ) : while n > 0 : self . writebit ( bits & ( 1 << ( n - 1 ) ) ) n -= 1
Writes 'n' least significant bits of integer 'bits', start
with the most significant of these bits.
Writes ' n ' least significant bits of integer ' bits ' start with the most significant of these bits .
'''Writes 'n' least significant bits of integer 'bits', start
        with the most significant of these bits.'''
self
bits
n