File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -1494,6 +1494,7 @@ def verify_typealias(
1494
1494
"__loader__" ,
1495
1495
"__spec__" ,
1496
1496
"__annotations__" ,
1497
+ "__annotate__" ,
1497
1498
"__path__" , # mypy adds __path__ to packages, but C packages don't have it
1498
1499
"__getattr__" , # resulting behaviour might be typed explicitly
1499
1500
# Created by `warnings.warn`, does not make much sense to have in stubs:
@@ -1510,6 +1511,9 @@ def verify_typealias(
1510
1511
# Special attributes
1511
1512
"__dict__" ,
1512
1513
"__annotations__" ,
1514
+ "__annotate__" ,
1515
+ "__annotations_cache__" ,
1516
+ "__annotate_func__" ,
1513
1517
"__text_signature__" ,
1514
1518
"__weakref__" ,
1515
1519
"__hash__" ,
@@ -1518,6 +1522,7 @@ def verify_typealias(
1518
1522
"__vectorcalloffset__" , # undocumented implementation detail of the vectorcall protocol
1519
1523
"__firstlineno__" ,
1520
1524
"__static_attributes__" ,
1525
+ "__classdictcell__" ,
1521
1526
# isinstance/issubclass hooks that type-checkers don't usually care about
1522
1527
"__instancecheck__" ,
1523
1528
"__subclasshook__" ,
You can’t perform that action at this time.
0 commit comments