parameters: (self, function, **kw)
docstring: __init__(function, name = None, openEnded = 1, extraArgs = [])
docstring_summary: __init__(function, name = None, openEnded = 1, extraArgs = [])
docstring_tokens: __init__ ( function name = None openEnded = 1 extraArgs = [] )
function: def __init__(self, function, **kw):
          """__init__(function, name = None, openEnded = 1, extraArgs = [])
          """
          name = kw.pop('name', None)
          openEnded = kw.pop('openEnded', 1)
          extraArgs = kw.pop('extraArgs', [])
  
          # Record instance variables
          self.function = function
  
          # Create a unique name for the interval if necessary
          if name is None:
              name = self.makeUniqueName(function)
          assert isinstance(name, str)
  
          # Record any arguments
          self.extraArgs = extraArgs
          self.kw = kw
          # Initialize superclass
          # Set openEnded true if privInitialize after end time cause interval
          # function to be called.  If false, privInitialize calls have no effect
          # Event, Accept, Ignore intervals default to openEnded = 0
          # Parent, Pos, Hpr, etc intervals default to openEnded = 1
          Interval.Interval.__init__(self, name, duration = 0.0, openEnded = openEnded)
  
          # For rebinding, let's remember this function interval on the class
          if __debug__:
              self.FunctionIntervals[self] = 1
function_tokens: def __init__ ( self , function , * * kw ) : name = kw . pop ( 'name' , None ) openEnded = kw . pop ( 'openEnded' , 1 ) extraArgs = kw . pop ( 'extraArgs' , [ ] ) # Record instance variables self . function = function # Create a unique name for the interval if necessary if name is None : name = self . makeUniqueName ( function ) assert isinstance ( name , str ) # Record any arguments self . extraArgs = extraArgs self . kw = kw # Initialize superclass # Set openEnded true if privInitialize after end time cause interval # function to be called.  If false, privInitialize calls have no effect # Event, Accept, Ignore intervals default to openEnded = 0 # Parent, Pos, Hpr, etc intervals default to openEnded = 1 Interval . Interval . __init__ ( self , name , duration = 0.0 , openEnded = openEnded ) # For rebinding, let's remember this function interval on the class if __debug__ : self . FunctionIntervals [ self ] = 1