gh-81094: Refer to PEP 318 in compound_statements.rst (#113588)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
John D. McDonald 2024-01-02 02:40:14 -06:00 committed by GitHub
parent 7595380347
commit 8ff44f8554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1362,12 +1362,15 @@ access the local variables of the function containing the def. See section
:pep:`526` - Syntax for Variable Annotations
Ability to type hint variable declarations, including class
variables and instance variables
variables and instance variables.
:pep:`563` - Postponed Evaluation of Annotations
Support for forward references within annotations by preserving
annotations in a string form at runtime instead of eager evaluation.
:pep:`318` - Decorators for Functions and Methods
Function and method decorators were introduced.
Class decorators were introduced in :pep:`3129`.
.. _class: