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

Method _get_capabilities

Lib/imaplib.py:1185–1191  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1183
1184
1185 def _get_capabilities(self):
1186 typ, dat = self.capability()
1187 if dat == [None]:
1188 raise self.error('no CAPABILITY response from server')
1189 dat = str(dat[-1], self._encoding)
1190 dat = dat.upper()
1191 self.capabilities = tuple(dat.split())
1192
1193
1194 def _get_response(self, start_timeout=False):

Callers 2

_connectMethod · 0.95
starttlsMethod · 0.95

Calls 5

capabilityMethod · 0.95
strFunction · 0.85
errorMethod · 0.45
upperMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected