def METHOD_NAME(self, pathOrObject=None, showInterface=True, **kwargs):
    if pathOrObject is None:
        font = self.wrapClass()
    elif isinstance(pathOrObject, str):
        font = self.wrapClass(pathOrObject)
    elif hasattr(pathOrObject, "__fspath__"):
        font = self.wrapClass(os.fspath(pathOrObject))
    else:
        font = pathOrObject
    self._wrapped = font