zipfile: 3.11 fixes (#7898)

* zipfile: 3.11 fixes

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Jelle ZijlstraandAlex Waygood authored and GitHub committed 2022-05-21 09:22:32 +01:00
1 parent aa70cc8abb
commit 7576805aee
2 files changed
+34 -7

No files matched your search

-5
View File
@@ -107,11 +107,6 @@ urllib.request.FancyURLopener.http_error_308
urllib.request.HTTPRedirectHandler.http_error_308
weakref.WeakValueDictionary.update
xmlrpc.server.SimpleXMLRPCRequestHandler.rpc_paths
zipfile.Path.stem
zipfile.Path.suffix
zipfile.Path.suffixes
zipfile.ZipFile.__init__
zipfile.ZipFile.mkdir
# stubtest complains that in 3.10 the default argument is inconsistent with the annotation,
# but in 3.10+ calling the function without the default argument is in fact deprecated,