(self, skip_range, n=1)
Skip chars in skip_range, then read next.
Skip chars in skip_range, then read next.
Skip chars in skip_range then read next .
def skip_read(self, skip_range, n=1):
        """Skip chars in skip_range, then read next."""
        while True:
            d = self.read(1)
            # skip_range must not include ''
            if d == b'' or d not in skip_range:
                return d + self.read(n-1)
def skip_read ( self , skip_range , n = 1 ) : while True : d = self . read ( 1 ) # skip_range must not include '' if d == b'' or d not in skip_range : return d + self . read ( n - 1 )