fixes dynamic itemclass example usage of type()
Merge pull request #603 from barraponto/dynamic-itemclass-docfix

fixes dynamic itemclass example usage of type()