mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.
Patch by Ivan Levkivskyi.
This commit is contained in:
parent
09ad17810c
commit
f8cb8a16a3
45 changed files with 3242 additions and 1308 deletions
|
@ -83,6 +83,8 @@ CLASSES
|
|||
| Data and other attributes defined here:
|
||||
|\x20\x20
|
||||
| NO_MEANING = 'eggs'
|
||||
|\x20\x20
|
||||
| __annotations__ = {'NO_MEANING': <class 'str'>}
|
||||
\x20\x20\x20\x20
|
||||
class C(builtins.object)
|
||||
| Methods defined here:
|
||||
|
@ -195,6 +197,8 @@ Data descriptors defined here:<br>
|
|||
Data and other attributes defined here:<br>
|
||||
<dl><dt><strong>NO_MEANING</strong> = 'eggs'</dl>
|
||||
|
||||
<dl><dt><strong>__annotations__</strong> = {'NO_MEANING': <class 'str'>}</dl>
|
||||
|
||||
</td></tr></table> <p>
|
||||
<table width="100%%" cellspacing=0 cellpadding=2 border=0 summary="section">
|
||||
<tr bgcolor="#ffc8d8">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue