stdlib: Audit Callable[<parameters>, None] annotations (#8187)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-06-27 08:08:28 +02:00
1 parent 0178a0e742
commit 8b3b6bf7cd
21 files changed
+59 -66

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ class MIMEApplication(MIMENonMultipart):
self,
_data: str | bytes,
_subtype: str = ...,
_encoder: Callable[[MIMEApplication], None] = ...,
_encoder: Callable[[MIMEApplication], object] = ...,
*,
policy: Policy | None = ...,
**_params: _ParamsType,
+1 -1
View File
@@ -10,7 +10,7 @@ class MIMEAudio(MIMENonMultipart):
self,
_audiodata: str | bytes,
_subtype: str | None = ...,
_encoder: Callable[[MIMEAudio], None] = ...,
_encoder: Callable[[MIMEAudio], object] = ...,
*,
policy: Policy | None = ...,
**_params: _ParamsType,
+1 -1
View File
@@ -10,7 +10,7 @@ class MIMEImage(MIMENonMultipart):
self,
_imagedata: str | bytes,
_subtype: str | None = ...,
_encoder: Callable[[MIMEImage], None] = ...,
_encoder: Callable[[MIMEImage], object] = ...,
*,
policy: Policy | None = ...,
**_params: _ParamsType,