code: def setExtention(self, ext):
          
          import warnings
          msg = "the setExtention method is deprecated, please use setExtension"
          warnings.warn(msg)
          self.setExtension(ext)
docs: Deprecated: use :meth:`setExtension`.
  
          Args:
              ext (str):