diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-07-29 05:48:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-29 05:48:10 (GMT) |
commit | f2d07d3289947d10b065b2bb7670c8fb6b6582f2 (patch) | |
tree | 4951b8b9118b548a868de6995c451aa33814dc1c /Doc/library/netrc.rst | |
parent | 413ba8943e2f1d896a0568eb571a041b88589440 (diff) | |
download | cpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.zip cpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.tar.gz cpython-f2d07d3289947d10b065b2bb7670c8fb6b6582f2.tar.bz2 |
gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386)
Diffstat (limited to 'Doc/library/netrc.rst')
-rw-r--r-- | Doc/library/netrc.rst | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Doc/library/netrc.rst b/Doc/library/netrc.rst index 88265d9..c36e5cf 100644 --- a/Doc/library/netrc.rst +++ b/Doc/library/netrc.rst @@ -51,9 +51,19 @@ the Unix :program:`ftp` program and other FTP clients. Exception raised by the :class:`~netrc.netrc` class when syntactical errors are encountered in source text. Instances of this exception provide three - interesting attributes: :attr:`msg` is a textual explanation of the error, - :attr:`filename` is the name of the source file, and :attr:`lineno` gives the - line number on which the error was found. + interesting attributes: + + .. attribute:: msg + + Textual explanation of the error. + + .. attribute:: filename + + The name of the source file. + + .. attribute:: lineno + + The line number on which the error was found. .. _netrc-objects: |