parameters: (self)
return_statement: return functools.reduce(getattr, attrs, module)
docstring: Load the entry point from its definition. If only a module
          is indicated by the value, return that module. Otherwise,
          return the named object.
docstring_summary: Load the entry point from its definition. If only a module
          is indicated by the value, return that module. Otherwise,
          return the named object.
docstring_tokens: Load the entry point from its definition . If only a module is indicated by the value return that module . Otherwise return the named object .
function: def load(self):
          """Load the entry point from its definition. If only a module
          is indicated by the value, return that module. Otherwise,
          return the named object.
          """
          match = self.pattern.match(self.value)
          module = import_module(match.group('module'))
          attrs = filter(None, (match.group('attr') or '').split('.'))
          return functools.reduce(getattr, attrs, module)
function_tokens: def load ( self ) : match = self . pattern . match ( self . value ) module = import_module ( match . group ( 'module' ) ) attrs = filter ( None , ( match . group ( 'attr' ) or '' ) . split ( '.' ) ) return functools . reduce ( getattr , attrs , module )