MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / ParseFlags

Function ParseFlags

tools/python-3.11.9-amd64/Lib/imaplib.py:1493–1501  ·  view source on GitHub ↗

Convert IMAP4 flags response to python tuple.

(resp)

Source from the content-addressed store, hash-verified

1491
1492
1493def ParseFlags(resp):
1494
1495 """Convert IMAP4 flags response to python tuple."""
1496
1497 mo = Flags.match(resp)
1498 if not mo:
1499 return ()
1500
1501 return tuple(mo.group('flags').split())
1502
1503
1504def Time2Internaldate(date_time):

Callers

nothing calls this directly

Calls 4

tupleClass · 0.85
matchMethod · 0.45
splitMethod · 0.45
groupMethod · 0.45

Tested by

no test coverage detected