code: def raise_os_error(self, errno, filename=None, winerror=None):
          
          message = self._error_message(errno)
          if (winerror is not None and sys.platform == 'win32' and
                  self.is_windows_fs):
              if IS_PY2:
                  raise WindowsError(winerror, message, filename)
              raise OSError(errno, message, filename, winerror)
          raise OSError(errno, message, filename)
docs: Raises OSError.
          The error message is constructed from the given error code and shall
          start with the error string issued in the real system.
          Note: this is not true under Windows if winerror is given - in this
          case a localized message specific to winerror will be shown in the
          real file system.
  
          Args:
              errno: A numeric error code from the C variable errno.
              filename: The name of the affected file, if any.
              winerror: Windows only - the specific Windows error code.