zipfile: 3.11 fixes (#7898)

* zipfile: 3.11 fixes

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

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,