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

Function ParseFlags

Lib/imaplib.py:1811–1819  ·  view source on GitHub ↗

Convert IMAP4 flags response to python tuple.

(resp)

Source from the content-addressed store, hash-verified

1809
1810
1811def ParseFlags(resp):
1812
1813 """Convert IMAP4 flags response to python tuple."""
1814
1815 mo = Flags.match(resp)
1816 if not mo:
1817 return ()
1818
1819 return tuple(mo.group('flags').split())
1820
1821
1822def 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