Add missing type hints in http.client (#5734)

* Add missing type hints in http.client

* Add http.client.HTTPConnection.response_class to exclude list
This commit is contained in:
Anton Grübel
2021-07-08 13:43:42 +02:00
committed by GitHub
parent 9d5046ee7f
commit 0085539df3
2 changed files with 8 additions and 1 deletions

View File

@@ -88,6 +88,7 @@ enum.EnumMeta.__call__
enum.EnumMeta.__new__
http.HTTPStatus.description # set in __new__
http.HTTPStatus.phrase # set in __new__
http.client.HTTPConnection.response_class # the actual type at runtime is abc.ABCMeta
imaplib.IMAP4_SSL.ssl # Dependent on SSL existence
importlib.abc.FileLoader.get_filename # Wrapped with _check_name decorator which changes runtime signature
importlib.abc.FileLoader.load_module # Wrapped with _check_name decorator which changes runtime signature