code: def ruamelindex(self, strictindex):
          
          return (
              self.key_association.get(strictindex, strictindex)
              if self.is_mapping()
              else strictindex
          )
docs: Get the ruamel equivalent of a strict parsed index.
  
          E.g. 0 -> 0, 1 -> 2, parsed-via-slugify -> Parsed via slugify