mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 13:05:14 +08:00
Add a default for ssl.SSLContext.__new__ on 3.10+ (#9635)
This commit is contained in:
1 parent
510bd460d2
commit
2539649560
3 files changed
+7
-11
No files matched your search
@@ -53,11 +53,6 @@ weakref.WeakValueDictionary.update
|
||||
unittest.TestCase.__init_subclass__
|
||||
unittest.case.TestCase.__init_subclass__
|
||||
|
||||
# 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,
|
||||
# so it's better to ignore stubtest
|
||||
ssl.SSLContext.__new__
|
||||
|
||||
# SpooledTemporaryFile implements IO except these methods before Python 3.11
|
||||
# See also https://github.com/python/typeshed/pull/2452#issuecomment-420657918
|
||||
tempfile.SpooledTemporaryFile.__next__
|
||||
|
||||
@@ -47,11 +47,6 @@ weakref.WeakValueDictionary.update
|
||||
unittest.TestCase.__init_subclass__
|
||||
unittest.case.TestCase.__init_subclass__
|
||||
|
||||
# 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,
|
||||
# so it's better to ignore stubtest
|
||||
ssl.SSLContext.__new__
|
||||
|
||||
# ==========
|
||||
# Related to positional-only arguments
|
||||
# ==========
|
||||
|
||||
Reference in new issue
Block a user