Commit 836fbcc
committed
imaplib: append returns a tuple (status, [data])
According to the docstring for append:
```
(typ, [data]) = <instance>.append(mailbox, flags, date_time, message)
```
[v3.0](https://github.com/python/cpython/blob/v3.0/Lib/imaplib.py#L313)
[v3.14](https://github.com/python/cpython/blob/v3.14.0/Lib/imaplib.py#L483)
Further corroborated that this is a tuple of some sort because append
returns the result of `self._simple_command(...)`, which returns the
result of `self._command_complete(...)`, which returns `typ, data`.1 parent 6b4691d commit 836fbcc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
0 commit comments