parameters: (cls, name, indexer)
docstring: Create an indexer like _name in the class.
docstring_summary: Create an indexer like _name in the class.
docstring_tokens: Create an indexer like _name in the class .
function: def _create_indexer(cls, name, indexer):
          """Create an indexer like _name in the class."""
          if getattr(cls, name, None) is None:
              _indexer = functools.partial(indexer, name)
              setattr(cls, name, property(_indexer, doc=indexer.__doc__))
function_tokens: def _create_indexer ( cls , name , indexer ) : if getattr ( cls , name , None ) is None : _indexer = functools . partial ( indexer , name ) setattr ( cls , name , property ( _indexer , doc = indexer . __doc__ ) )