We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
pathlib
1 parent f51ed04 commit d59b2d0Copy full SHA for d59b2d0
Doc/library/pathlib.rst
@@ -1022,7 +1022,7 @@ call fails (for example because the path doesn't exist).
1022
Rename this file or directory to the given *target*, and return a new Path
1023
instance pointing to *target*. On Unix, if *target* exists and is a file,
1024
it will be replaced silently if the user has permission.
1025
- On Windows, if *target* exists, :data:`FileExistsError` will be raised.
+ On Windows, if *target* exists, :exc:`FileExistsError` will be raised.
1026
*target* can be either a string or another path object::
1027
1028
>>> p = Path('foo')
0 commit comments