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

Function ParseFlags

Lib/imaplib.py:1810–1818  ·  view source on GitHub ↗

Convert IMAP4 flags response to python tuple.

(resp)

Source from the content-addressed store, hash-verified

1808
1809
1810def ParseFlags(resp):
1811
1812 """Convert IMAP4 flags response to python tuple."""
1813
1814 mo = Flags.match(resp)
1815 if not mo:
1816 return ()
1817
1818 return tuple(mo.group('flags').split())
1819
1820
1821def Time2Internaldate(date_time):

Callers

nothing calls this directly

Calls 3

matchMethod · 0.45
splitMethod · 0.45
groupMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…