Skip to content

Commit b061747

Browse files
committed
Fix reST role name.
1 parent a6fdd0e commit b061747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/pathlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ Pure paths provide the following methods and properties:
543543

544544
Create a new path object of the same type by combining the *other*
545545
arguments. This method is called whenever a derivative path is created,
546-
such as from :data:`parent` and :method:`relative_to`. Subclasses may
546+
such as from :data:`parent` and :meth:`relative_to`. Subclasses may
547547
override this method to pass information to derivative paths, for example::
548548

549549
from pathlib import PurePosixPath

0 commit comments

Comments
 (0)