code: def resolve_alias(self, name):
          
          seen = []
  
          while name in self._aliases:
              seen.append(name)
              name = self._aliases[name]
  
              # This is O(N ** 2), but if there's an alias chain longer than 2,
              # something strange has happened.
              if name in seen:
                  seen.append(name)
                  raise CyclicCalendarAlias(
                      cycle=" -> ".join(repr(k) for k in seen)
                  )
  
          return name
docs: Resolve a calendar alias for retrieval.
  
          Parameters
          ----------
          name : str
              The name of the requested calendar.
  
          Returns
          -------
          canonical_name : str
              The real name of the calendar to create/return.