MCPcopy Index your code
hub / github.com/python/cpython / partial

Method partial

Lib/imaplib.py:789–798  ·  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

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

Callers 15

mainFunction · 0.80
_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

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