Home
last modified time | relevance | path

Searched refs:message_spec (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/
Dnntplib.py702 def stat(self, message_spec=None): argument
711 if message_spec:
712 return self._statcmd('STAT {0}'.format(message_spec))
730 def head(self, message_spec=None, *, file=None): argument
738 if message_spec is not None:
739 cmd = 'HEAD {0}'.format(message_spec)
744 def body(self, message_spec=None, *, file=None): argument
752 if message_spec is not None:
753 cmd = 'BODY {0}'.format(message_spec)
758 def article(self, message_spec=None, *, file=None): argument
[all …]
/external/python/cpython3/Lib/test/
Dtest_nntplib.py495 def handle_STAT(self, message_spec=None): argument
496 if message_spec is None:
498 elif message_spec == "3000234":
500 elif message_spec == "<45223423@example.com>":
596 def handle_XOVER(self, message_spec): argument
597 if message_spec == "57-59":
667 def handle_ARTICLE(self, message_spec=None): argument
668 if message_spec is None:
670 elif message_spec == "<45223423@example.com>":
672 elif message_spec == "3000234":
[all …]
/external/python/cpython3/Doc/library/
Dnntplib.rst341 .. method:: NNTP.over(message_spec, *, file=None)
344 *message_spec* can be either a string representing a message id, or
352 by *message_spec*. Each *overview* is a dictionary with the same number
390 .. method:: NNTP.stat(message_spec=None)
392 Send a ``STAT`` command, where *message_spec* is either a message id
394 If *message_spec* is omitted or :const:`None`, the current article in the
414 .. method:: NNTP.article(message_spec=None, *, file=None)
416 Send an ``ARTICLE`` command, where *message_spec* has the same meaning as
439 .. method:: NNTP.head(message_spec=None, *, file=None)
446 .. method:: NNTP.body(message_spec=None, *, file=None)