parameters: (self, N = 10)
docstring: Fill the bar in N frames. This call is blocking.
docstring_summary: Fill the bar in N frames. This call is blocking.
docstring_tokens: Fill the bar in N frames . This call is blocking .
function: def finish(self, N = 10):
          """Fill the bar in N frames. This call is blocking."""
          remaining = self['range'] - self['value']
          if remaining:
              step = max(1, int(remaining / N))
              count = self['value']
              while count != self['range']:
                  count += step
                  if count > self['range']:
                      count = self['range']
                  self.update(count)
function_tokens: def finish ( self , N = 10 ) : remaining = self [ 'range' ] - self [ 'value' ] if remaining : step = max ( 1 , int ( remaining / N ) ) count = self [ 'value' ] while count != self [ 'range' ] : count += step if count > self [ 'range' ] : count = self [ 'range' ] self . update ( count )