mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
fix deprecated ast classes (#13285)
This commit is contained in:
@@ -188,8 +188,6 @@ unittest.case.TestCase.__init_subclass__ # Runtime has *args, **kwargs, but wil
|
||||
_ast.ImportFrom.level # None on the class, but never None on instances
|
||||
_weakref.ProxyType.__reversed__ # Doesn't really exist
|
||||
ast.ImportFrom.level # None on the class, but never None on instances
|
||||
ast.ExtSlice.__new__ # C signature is broader than what is actually accepted
|
||||
ast.Index.__new__ # C signature is broader than what is actually accepted
|
||||
|
||||
# Treated an alias of a typing class in the stubs,
|
||||
# they are generic to type checkers anyway.
|
||||
|
||||
@@ -169,8 +169,6 @@ unittest.case.TestCase.__init_subclass__ # Runtime has *args, **kwargs, but wil
|
||||
_ast.ImportFrom.level # None on the class, but never None on instances
|
||||
_weakref.ProxyType.__reversed__ # Doesn't really exist
|
||||
ast.ImportFrom.level # None on the class, but never None on instances
|
||||
ast.ExtSlice.__new__ # C signature is broader than what is actually accepted
|
||||
ast.Index.__new__ # C signature is broader than what is actually accepted
|
||||
|
||||
# Treated an alias of a typing class in the stubs,
|
||||
# they are generic to type checkers anyway.
|
||||
|
||||
@@ -183,8 +183,6 @@ unittest.case.TestCase.__init_subclass__ # Runtime has *args, **kwargs, but wil
|
||||
_ast.ImportFrom.level # None on the class, but never None on instances
|
||||
_weakref.ProxyType.__reversed__ # Doesn't really exist
|
||||
ast.ImportFrom.level # None on the class, but never None on instances
|
||||
ast.ExtSlice.__new__ # C signature is broader than what is actually accepted
|
||||
ast.Index.__new__ # C signature is broader than what is actually accepted
|
||||
|
||||
# Treated an alias of a typing class in the stubs,
|
||||
# they are generic to type checkers anyway.
|
||||
|
||||
@@ -196,8 +196,6 @@ unittest.case.TestCase.__init_subclass__ # Runtime has *args, **kwargs, but wil
|
||||
_ast.ImportFrom.level # None on the class, but never None on instances
|
||||
_weakref.ProxyType.__reversed__ # Doesn't really exist
|
||||
ast.ImportFrom.level # None on the class, but never None on instances
|
||||
ast.ExtSlice.__new__ # C signature is broader than what is actually accepted
|
||||
ast.Index.__new__ # C signature is broader than what is actually accepted
|
||||
|
||||
# Treated an alias of a typing class in the stubs,
|
||||
# they are generic to type checkers anyway.
|
||||
|
||||
@@ -149,8 +149,6 @@ tkinter.tix.TkVersion
|
||||
_ast.ImportFrom.level # None on the class, but never None on instances
|
||||
_weakref.ProxyType.__reversed__ # Doesn't really exist
|
||||
ast.ImportFrom.level # None on the class, but never None on instances
|
||||
ast.ExtSlice.__new__ # C signature is broader than what is actually accepted
|
||||
ast.Index.__new__ # C signature is broader than what is actually accepted
|
||||
|
||||
# Treated an alias of a typing class in the stubs,
|
||||
# they are generic to type checkers anyway.
|
||||
|
||||
Reference in New Issue
Block a user