diff options
author | Jelle Zijlstra <jelle.zijlstra@gmail.com> | 2024-06-11 13:06:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-11 13:06:49 (GMT) |
commit | 9b8611eeea172cd4aa626ccd1ca333dc4093cd8c (patch) | |
tree | 93491345df33ac20e4c4e87f226ff7a7e781e465 /Lib/test/test_pydoc/test_pydoc.py | |
parent | 02c1dfff073a3dd6ce34a11b038defde291c2203 (diff) | |
download | cpython-9b8611eeea172cd4aa626ccd1ca333dc4093cd8c.zip cpython-9b8611eeea172cd4aa626ccd1ca333dc4093cd8c.tar.gz cpython-9b8611eeea172cd4aa626ccd1ca333dc4093cd8c.tar.bz2 |
gh-119180: PEP 649 compiler changes (#119361)
Diffstat (limited to 'Lib/test/test_pydoc/test_pydoc.py')
-rw-r--r-- | Lib/test/test_pydoc/test_pydoc.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Lib/test/test_pydoc/test_pydoc.py b/Lib/test/test_pydoc/test_pydoc.py index 57e5b8e..a17c16c 100644 --- a/Lib/test/test_pydoc/test_pydoc.py +++ b/Lib/test/test_pydoc/test_pydoc.py @@ -77,6 +77,11 @@ CLASSES | __weakref__%s class B(builtins.object) + | Methods defined here: + | + | __annotate__(...) + | + | ---------------------------------------------------------------------- | Data descriptors defined here: | | __dict__%s @@ -87,8 +92,6 @@ CLASSES | Data and other attributes defined here: | | NO_MEANING = 'eggs' - | - | __annotations__ = {'NO_MEANING': <class 'str'>} class C(builtins.object) | Methods defined here: @@ -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 @@ -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) |