code: def safe_filename(self, part):
          '''Return a safe filename or file part.'''
          return safe_filename(
              part,
              os_type=self._os_type, no_control=self._no_control,
              ascii_only=self._ascii_only, case=self._case,
              max_length=self._max_filename_length,
              f safe_filename(self, part):
          '''Return a safe filename or file part.'''
          return safe_filename(
              part,
              os_type=self._os_type, no_control=self._no_control,
              ascii_only=self._ascii_only, case=self._case,
              max_length=self._max_filename_length,
              )
docs: Return a safe filename or file part.