瀏覽代碼

Help: Reword if(EXISTS) suggestion to prefer if(IS_READABLE)

Brad King 1 年之前
父節點
當前提交
2ce6337503
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      Help/command/if.rst

+ 3 - 4
Help/command/if.rst

@@ -178,10 +178,9 @@ File Operations
 
   False if the given path is an empty string.
 
-  .. warning::
-    To check the readability of a file, use preferably ``if(IS_READABLE)``
-    because this test will evolve to check file existence only in a future
-    release.
+  .. note::
+    Prefer ``if(IS_READABLE)`` to check file readability.  ``if(EXISTS)``
+    may be changed in the future to to only check file existence.
 
 .. signature:: if(IS_READABLE <path-to-file-or-directory>)