Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d88c757

Browse files
committed
edit example of 8.3 style names
1 parent f675a4f commit d88c757

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/os.path.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -377,9 +377,8 @@ the :mod:`glob` module.)
377377

378378
Return the canonical path of the specified filename, eliminating any symbolic
379379
links encountered in the path (if they are supported by the operating
380-
system). On Windows, this function will also resolve and eliminate MS-DOS
381-
(also called 8.3) style names such as ``C:\\PROGRA~1\\LONGFI~1.TXT`` to
382-
``C:\\Program Files\\LongFile.txt``.
380+
system). On Windows, this function will also resolve MS-DOS (also called 8.3)
381+
style names such as ``C:\\PROGRA~1`` to ``C:\\Program Files``.
383382

384383
If a path doesn't exist or a symlink loop is encountered, and *strict* is
385384
``True``, :exc:`OSError` is raised. If *strict* is ``False``, the path is

0 commit comments

Comments
 (0)