class_docstr: Holds a collection of items that can be reached by
  
    - Index
    - Name (if set in the append operation)
class_docstr_tok: ["Holds","a","collection","of","items","that","can","be","reached","by","-","Index","-","Name","(","if","set","in","the","append","operation",")"]
code: def getbyname(self, name):
      idx = self._names.index(name)
      return self._items[idx]
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from collections import OrderedDict
  import itertools
  import sys
  import backtrader
  from .utils.py3 import zip, string_types, with_metaclass
label_desc: Use image node_id 7 for calling the ItemCollection obj's underlying member method code with example usage: obj.getbyname(name) and returns: self