mirror of
https://github.com/python/cpython.git
synced 2025-08-28 20:56:54 +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
|
@ -12,7 +12,7 @@ class A:
|
|||
pass
|
||||
|
||||
class B(object):
|
||||
NO_MEANING = "eggs"
|
||||
NO_MEANING: str = "eggs"
|
||||
pass
|
||||
|
||||
class C(object):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue