gh-119180: PEP 649 compiler changes by JelleZijlstra · Pull Request #119361 · python/cpython

Original file line number Diff line number Diff line change Expand Up @@ -77,6 +77,11 @@ class A(builtins.object) | __weakref__%s
class B(builtins.object) | Methods defined here: | | __annotate__(...) | | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__%s Expand All @@ -87,8 +92,6 @@ class B(builtins.object) | Data and other attributes defined here: | | NO_MEANING = 'eggs' | | __annotations__ = {'NO_MEANING': <class 'str'>}
class C(builtins.object) | Methods defined here: Expand Down Expand Up @@ -176,6 +179,9 @@ class A(builtins.object) list of weak references to the object
class B(builtins.object) Methods defined here: __annotate__(...) ---------------------------------------------------------------------- Data descriptors defined here: __dict__ dictionary for instance variables Expand All @@ -184,7 +190,6 @@ class B(builtins.object) ---------------------------------------------------------------------- Data and other attributes defined here: NO_MEANING = 'eggs' __annotations__ = {'NO_MEANING': <class 'str'>}

class C(builtins.object) Expand Down