MCPcopy Index your code
hub / github.com/RustPython/RustPython / partial

Method partial

Lib/imaplib.py:792–801  ·  view source on GitHub ↗

Fetch truncated part of a message. (typ, [data, ...]) = .partial(message_num, message_part, start, length) 'data' is tuple of message part envelope and data.

(self, message_num, message_part, start, length)

Source from the content-addressed store, hash-verified

790
791
792 def partial(self, message_num, message_part, start, length):
793 """Fetch truncated part of a message.
794
795 (typ, [data, ...]) = <instance>.partial(message_num, message_part, start, length)
796
797 'data' is tuple of message part envelope and data.
798 """
799 name = 'PARTIAL'
800 typ, dat = self._simple_command(name, message_num, message_part, start, length)
801 return self._untagged_response(typ, dat, 'FETCH')
802
803
804 def proxyauth(self, user):

Callers 15

_signature_from_callableFunction · 0.80
typing.pyFile · 0.80
__init__Method · 0.80
__setitem__Method · 0.80
sock_recvMethod · 0.80
sock_recv_intoMethod · 0.80
sock_recvfromMethod · 0.80
sock_recvfrom_intoMethod · 0.80
sock_sendallMethod · 0.80
sock_sendtoMethod · 0.80
_sock_connectMethod · 0.80
_sock_acceptMethod · 0.80

Calls 2

_simple_commandMethod · 0.95
_untagged_responseMethod · 0.95

Tested by 15

test_basic_examplesMethod · 0.64
test_attributesMethod · 0.64
test_kwargs_copyMethod · 0.64
test_arg_combinationsMethod · 0.64
test_kw_combinationsMethod · 0.64
test_positionalMethod · 0.64
test_keywordMethod · 0.64
test_no_side_effectsMethod · 0.64