Skip to content

Commit cd96328

Browse files
committed
Fix table borders
1 parent 43a7a34 commit cd96328

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

Doc/library/pathlib.rst

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1828,41 +1828,41 @@ Corresponding tools
18281828
Below is a table mapping various :mod:`os` functions to their corresponding
18291829
:class:`PurePath`/:class:`Path` equivalent.
18301830

1831-
==================================== ==============================
1832-
:mod:`os` and :mod:`os.path` :mod:`pathlib`
1833-
==================================== ==============================
1834-
:func:`os.path.dirname` :attr:`PurePath.parent`
1835-
:func:`os.path.basename` :attr:`PurePath.name`
1836-
:func:`os.path.splitext` :attr:`PurePath.stem`, :attr:`PurePath.suffix`
1837-
:func:`os.path.join` :meth:`PurePath.joinpath`
1838-
:func:`os.path.isabs` :meth:`PurePath.is_absolute`
1839-
:func:`os.path.relpath` :meth:`PurePath.relative_to` [1]_
1840-
:func:`os.path.expanduser` :meth:`Path.expanduser` [2]_
1841-
:func:`os.path.realpath` :meth:`Path.resolve`
1842-
:func:`os.path.abspath` :meth:`Path.absolute` [3]_
1843-
:func:`os.path.exists` :meth:`Path.exists`
1844-
:func:`os.path.isfile` :meth:`Path.is_file`
1845-
:func:`os.path.isdir` :meth:`Path.is_dir`
1846-
:func:`os.path.islink` :meth:`Path.is_symlink`
1847-
:func:`os.path.isjunction` :meth:`Path.is_junction`
1848-
:func:`os.path.ismount` :meth:`Path.is_mount`
1849-
:func:`os.path.samefile` :meth:`Path.samefile`
1850-
:func:`os.getcwd` :meth:`Path.cwd`
1851-
:func:`os.stat` :meth:`Path.stat`
1852-
:func:`os.lstat` :meth:`Path.lstat`
1853-
:func:`os.listdir` :meth:`Path.iterdir`
1854-
:func:`os.walk` :meth:`Path.walk` [4]_
1855-
:func:`os.mkdir`, :func:`os.makedirs` :meth:`Path.mkdir`
1856-
:func:`os.link` :meth:`Path.hardlink_to`
1857-
:func:`os.symlink` :meth:`Path.symlink_to`
1858-
:func:`os.readlink` :meth:`Path.readlink`
1859-
:func:`os.rename` :meth:`Path.rename`
1860-
:func:`os.replace` :meth:`Path.replace`
1861-
:func:`os.remove`, :func:`os.unlink` :meth:`Path.unlink`
1862-
:func:`os.rmdir` :meth:`Path.rmdir`
1863-
:func:`os.chmod` :meth:`Path.chmod`
1864-
:func:`os.lchmod` :meth:`Path.lchmod`
1865-
==================================== ==============================
1831+
===================================== ==============================================
1832+
:mod:`os` and :mod:`os.path` :mod:`pathlib`
1833+
===================================== ==============================================
1834+
:func:`os.path.dirname` :attr:`PurePath.parent`
1835+
:func:`os.path.basename` :attr:`PurePath.name`
1836+
:func:`os.path.splitext` :attr:`PurePath.stem`, :attr:`PurePath.suffix`
1837+
:func:`os.path.join` :meth:`PurePath.joinpath`
1838+
:func:`os.path.isabs` :meth:`PurePath.is_absolute`
1839+
:func:`os.path.relpath` :meth:`PurePath.relative_to` [1]_
1840+
:func:`os.path.expanduser` :meth:`Path.expanduser` [2]_
1841+
:func:`os.path.realpath` :meth:`Path.resolve`
1842+
:func:`os.path.abspath` :meth:`Path.absolute` [3]_
1843+
:func:`os.path.exists` :meth:`Path.exists`
1844+
:func:`os.path.isfile` :meth:`Path.is_file`
1845+
:func:`os.path.isdir` :meth:`Path.is_dir`
1846+
:func:`os.path.islink` :meth:`Path.is_symlink`
1847+
:func:`os.path.isjunction` :meth:`Path.is_junction`
1848+
:func:`os.path.ismount` :meth:`Path.is_mount`
1849+
:func:`os.path.samefile` :meth:`Path.samefile`
1850+
:func:`os.getcwd` :meth:`Path.cwd`
1851+
:func:`os.stat` :meth:`Path.stat`
1852+
:func:`os.lstat` :meth:`Path.lstat`
1853+
:func:`os.listdir` :meth:`Path.iterdir`
1854+
:func:`os.walk` :meth:`Path.walk` [4]_
1855+
:func:`os.mkdir`, :func:`os.makedirs` :meth:`Path.mkdir`
1856+
:func:`os.link` :meth:`Path.hardlink_to`
1857+
:func:`os.symlink` :meth:`Path.symlink_to`
1858+
:func:`os.readlink` :meth:`Path.readlink`
1859+
:func:`os.rename` :meth:`Path.rename`
1860+
:func:`os.replace` :meth:`Path.replace`
1861+
:func:`os.remove`, :func:`os.unlink` :meth:`Path.unlink`
1862+
:func:`os.rmdir` :meth:`Path.rmdir`
1863+
:func:`os.chmod` :meth:`Path.chmod`
1864+
:func:`os.lchmod` :meth:`Path.lchmod`
1865+
===================================== ==============================================
18661866

18671867
.. rubric:: Footnotes
18681868

0 commit comments

Comments
 (0)