MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / xover

Method xover

tools/python-3.11.9-amd64/Lib/nntplib.py:826–838  ·  view source on GitHub ↗

Process an XOVER command (optional server extension) Arguments: - start: start of range - end: end of range - file: Filename string or file object to store the result in Returns: - resp: server response if successful - list: list of dicts contain

(self, start, end, *, file=None)

Source from the content-addressed store, hash-verified

824 return resp, [remove_number(line) for line in lines]
825
826 def xover(self, start, end, *, file=None):
827 """Process an XOVER command (optional server extension) Arguments:
828 - start: start of range
829 - end: end of range
830 - file: Filename string or file object to store the result in
831 Returns:
832 - resp: server response if successful
833 - list: list of dicts containing the response fields
834 """
835 resp, lines = self._longcmdstring('XOVER {0}-{1}'.format(start, end),
836 file)
837 fmt = self._getoverviewfmt()
838 return resp, _parse_overview(lines, fmt)
839
840 def over(self, message_spec, *, file=None):
841 """Process an OVER command. If the command isn't supported, fall

Callers 1

nntplib.pyFile · 0.80

Calls 4

_longcmdstringMethod · 0.95
_getoverviewfmtMethod · 0.95
_parse_overviewFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected