diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2020-01-22 21:59:43 (GMT) |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2020-01-22 21:59:43 (GMT) |
commit | 1f0f102dec506fd06f912b74dd2be64a7fba0d3f (patch) | |
tree | dfdfd1335254a0f0172995d452f1b55f726ac065 /Doc/library/nntplib.rst | |
parent | b477d19a6b7751b0c933b239dae4fc96dbcde9c4 (diff) | |
download | cpython-1f0f102dec506fd06f912b74dd2be64a7fba0d3f.zip cpython-1f0f102dec506fd06f912b74dd2be64a7fba0d3f.tar.gz cpython-1f0f102dec506fd06f912b74dd2be64a7fba0d3f.tar.bz2 |
bpo-39366: Remove xpath() and xgtitle() methods of NNTP (GH-18035)
Diffstat (limited to 'Doc/library/nntplib.rst')
-rw-r--r-- | Doc/library/nntplib.rst | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst index 7697365..e7ec904 100644 --- a/Doc/library/nntplib.rst +++ b/Doc/library/nntplib.rst @@ -542,33 +542,6 @@ them have been superseded by newer commands in :rfc:`3977`. if available. -.. method:: NNTP.xpath(id) - - Return a pair ``(resp, path)``, where *path* is the directory path to the - article with message ID *id*. Most of the time, this extension is not - enabled by NNTP server administrators. - - .. deprecated:: 3.3 - The XPATH extension is not actively used. - - -.. XXX deprecated: - - .. method:: NNTP.xgtitle(name, *, file=None) - - Process an ``XGTITLE`` command, returning a pair ``(response, list)``, where - *list* is a list of tuples containing ``(name, title)``. If the *file* parameter - is supplied, then the output of the ``XGTITLE`` command is stored in a file. - If *file* is a string, then the method will open a file with that name, write - to it then close it. If *file* is a :term:`file object`, then it will start - calling :meth:`write` on it to store the lines of the command output. If *file* - is supplied, then the returned *list* is an empty list. This is an optional NNTP - extension, and may not be supported by all servers. - - :rfc:`2980` says "It is suggested that this extension be deprecated". Use - :meth:`descriptions` or :meth:`description` instead. - - Utility functions ----------------- |