def is_windows_path(uri):
 log.warning('is_windows_path() is deprecated and will be removed in v0.6.0')
 if _WINPATH_RE.match(uri):
  return True
 else:
  return False

def is_windows_path ( uri ) : log . warning ( 'is_windows_path() is deprecated and will be removed in v0.6.0' ) if _WINPATH_RE . match ( uri ) : return True else : return False
return true if *uri* is a windows path .