Skip to content

Commit 5952585

Browse files
fixup! Split into lexical/IO
1 parent 72aec4d commit 5952585

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Doc/library/os.path.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -277,19 +277,6 @@ The module provides these I/O functions:
277277
Accepts a :term:`path-like object`.
278278

279279

280-
.. function:: basename(path)
281-
282-
Return the base name of pathname *path*. This is the second element of the
283-
pair returned by passing *path* to the function :func:`split`. Note that
284-
the result of this function is different
285-
from the Unix :program:`basename` program; where :program:`basename` for
286-
``'/foo/bar/'`` returns ``'bar'``, the :func:`basename` function returns an
287-
empty string (``''``).
288-
289-
.. versionchanged:: 3.6
290-
Accepts a :term:`path-like object`.
291-
292-
293280
.. function:: exists(path)
294281

295282
Return ``True`` if *path* refers to an existing path or an open

0 commit comments

Comments
 (0)