Skip to content

Commit 0bebbd4

Browse files
committed
remove note
1 parent c812c94 commit 0bebbd4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Doc/library/shutil.rst

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -454,11 +454,9 @@ Directory and files operations
454454
:envvar:`PATH` environment variable is read from :data:`os.environ`,
455455
falling back to :data:`os.defpath` if it is not set.
456456

457-
.. note::
458-
459-
If *cmd* contains a directory component, :func:`!which` only checks the
460-
specified path directly and does not search the directories listed in
461-
*path* or in the system's :envvar:`PATH` environment variable.
457+
If *cmd* contains a directory component, :func:`!which` only checks the
458+
specified path directly and does not search the directories listed in
459+
*path* or in the system's :envvar:`PATH` environment variable.
462460

463461
On Windows, the current directory is prepended to the *path* if *mode* does
464462
not include ``os.X_OK``. When the *mode* does include ``os.X_OK``, the

0 commit comments

Comments
 (0)