code: def dynamic_info(self):
  		"Return a map that for a given year will return the correct Info"
  		if self.key_name:
  			dyn_key = self.get_key().subkey('Dynamic DST')
  			del dyn_key['FirstEntry']
  			del dyn_key['LastEntry']
  			years = map(int, dyn_key.keys())
  			values = map(Info, dyn_key.values())
  			# create a range mapping that searches by descending year and matches
  			# if the target year is greater or equal.
  			return RangeMap(zip(years, values), RangeMap.descending, operator.ge)
  		else:
  			return AnyDict(selff dynamic_info(self):
  		"Return a map that for a given year will return the correct Info"
  		if self.key_name:
  			dyn_key = self.get_key().subkey('Dynamic DST')
  			del dyn_key['FirstEntry']
  			del dyn_key['LastEntry']
  			years = map(int, dyn_key.keys())
  			values = map(Info, dyn_key.values())
  			# create a range mapping that searches by descending year and matches
  			# if the target year is greater or equal.
  			return RangeMap(zip(years, values), RangeMap.descending, operator.ge)
  		else:
  			return AnyDict(self)
docs: Return a map that for a given year will return the correct Info