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

Method _match

Lib/imaplib.py:1341–1350  ·  view source on GitHub ↗
(self, cre, s)

Source from the content-addressed store, hash-verified

1339
1340
1341 def _match(self, cre, s):
1342
1343 # Run compiled regular expression match method on 's'.
1344 # Save result, return success.
1345
1346 self.mo = cre.match(s)
1347 if __debug__:
1348 if self.mo is not None and self.debug >= 5:
1349 self._mesg("\tmatched %r => %r" % (cre.pattern, self.mo.groups()))
1350 return self.mo is not None
1351
1352
1353 def _new_tag(self):

Callers 1

_get_responseMethod · 0.95

Calls 3

_mesgMethod · 0.95
matchMethod · 0.45
groupsMethod · 0.45

Tested by

no test coverage detected