doc: fix broken cross references

This commit is contained in:
Ran Benita
2020-09-06 11:52:30 +03:00
parent 4df39e3a1d
commit e503c9a9f8
9 changed files with 27 additions and 31 deletions

View File

@@ -111,7 +111,7 @@ class TempdirFactory:
_tmppath_factory = attr.ib(type=TempPathFactory)
def mktemp(self, basename: str, numbered: bool = True) -> py.path.local:
"""Same as :meth:`TempPathFactory.mkdir`, but returns a ``py.path.local`` object."""
"""Same as :meth:`TempPathFactory.mktemp`, but returns a ``py.path.local`` object."""
return py.path.local(self._tmppath_factory.mktemp(basename, numbered).resolve())
def getbasetemp(self) -> py.path.local: