def items(self, region_codes, include_subregions=False):
items = OrderedDict()<EOL>for code in region_codes:<EOL><INDENT>try:<EOL><INDENT>items[code] = self.region_registry[code]<EOL><DEDENT>except KeyError:<EOL><INDENT>continue<EOL><DEDENT>if include_subregions:<EOL><INDENT>items.update(self.get_subregions(code))<EOL><DEDENT><DEDENT>return items<EOL>
Returns calendar classes for regions

:param region_codes list of ISO codes for selected regions
:param include_subregions boolean if subregions
of selected regions should be included in result
:rtype dict
:return dict where keys are ISO codes strings
and values are calendar classes