We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72eca2a commit 5ab9692Copy full SHA for 5ab9692
Doc/library/os.rst
@@ -2380,6 +2380,8 @@ features:
2380
entries ``'.'`` and ``'..'`` even if they are present in the directory.
2381
If a file is removed from or added to the directory during the call of
2382
this function, whether a name for that file be included is unspecified.
2383
+ *path* must refer to an existing directory. Passing ``''`` raises
2384
+ :exc:`FileNotFoundError`; use ``'.'`` to list the current directory.
2385
2386
*path* may be a :term:`path-like object`. If *path* is of type ``bytes``
2387
(directly or indirectly through the :class:`PathLike` interface),
0 commit comments