John Villalovos
|
65a6a195f2
|
Pillow: Add tuple[int, int] to _Color TypeAlias (#10407)
|
2023-07-05 11:31:30 +03:00 |
|
John Villalovos
|
e42c983740
|
requests: add annotation for parse_header_links (#8349)
In the requests package the function `utils.parse_header_links()`
takes a str as input and returns a list of dictionaries.
This can be seen in the unit tests that are used:
https://github.com/psf/requests/blob/786255613bd92f87c9c8f066c4271aab1b9eeaad/tests/test_utils.py#L644-L664
|
2022-07-20 21:02:29 -07:00 |
|
John Villalovos
|
38015e1935
|
imaplib: annotate imaplib.Commands (#8262)
Add type hints for `imaplib.Commands` which is defined here in
imaplib.py:
https://github.com/python/cpython/blob/6442a9dd212fa18343db21849cf05c0181662c1f/Lib/imaplib.py#L58-L102
Closes #8261
|
2022-07-09 14:27:29 +05:30 |
|
John Villalovos
|
fc69e0053a
|
imaplib: fix exception types (#8095)
Closes #8094
|
2022-06-17 23:45:10 -07:00 |
|