Commit Graph
14 Commits
Author SHA1 Message Date
Adam Dangoor 4a33b2f3a0 Add some types for xml.dom.minidom.Text (#11725) 2024-04-06 14:45:24 +02:00
Adam Dangoor 9d2f651818 Add annotations to docutils.parsers.rst.directives.parts (#11667) 2024-03-30 09:10:41 +01:00
Adam Dangoor 26452a7c68 Add docutils.nodes.system_message and .BackLinkable
Add stubs for docutils.nodes.system_message and docutils.nodes.BackLinkable
2024-01-25 11:27:10 +01:00
Adam Dangoor ce45bc3a1c Ad docutils.nodes.raw and docutils.nodes.Inline (#11312) 2024-01-25 11:25:38 +01:00
Adam Dangoor 289c3f79b0 Add type stubs for docutils.nodes.literal_block and docutils.nodes.Fi… (#11308) 2024-01-24 15:36:18 +01:00
Adam Dangoor b96d40a16c Add substitution_defs to docutils.nodes.document (#11307) 2024-01-24 15:21:53 +01:00
Adam Dangoor d689b486c0 Add parameter type to PreparedRequest.prepare_content_length (#11304) 2024-01-24 13:41:27 +01:00
Adam Dangoor b6d121600e Add a number of properties to PIL.ImageStat.Stat (#11303) 2024-01-24 13:39:05 +01:00
Adam Dangoor ced150a7e8 Add types to urllib3.filepost stubs (#9924) 2023-03-26 15:15:36 +01:00
Adam Dangoor 19368ab964 Add type to requests.models.RequestEncodingMixin.path_url (#9923)
We can see at https://github.com/psf/requests/blob/7f694b79e114c06fac5ec06019cada5a61e5570f/requests/models.py#L104 that this always returns a string.
2023-03-22 19:20:40 +00:00
Adam Dangoor b9c81fe2f0 Add some return type hints for methods of Werkzeug's EnvironBuilder c… (#4653) 2020-10-12 13:47:54 +02:00
Adam Dangoor ec62f5f772 Allow Flask.Response.default_mimetype to be None (#4563) 2020-09-21 14:36:05 +02:00
Adam Dangoor 45a11b974e Update parse_multipart return type to support Python 3.7 (#2474)
* Add encoding and errors parameters to cgi.parse_multipart stub.
2018-09-27 22:19:02 +02:00
Adam Dangoor 7fe417ca58 In Python 3.4 and above, os.makedirs and os.removedirs use the kwarg "name" rather than "path" (#1536) 2017-08-08 18:42:29 -07:00