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

Method _get_capabilities

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

Source from the content-addressed store, hash-verified

1184
1185
1186 def _get_capabilities(self):
1187 typ, dat = self.capability()
1188 if dat == [None]:
1189 raise self.error('no CAPABILITY response from server')
1190 dat = str(dat[-1], self._encoding)
1191 dat = dat.upper()
1192 self.capabilities = tuple(dat.split())
1193
1194
1195 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