[3.12] gh-81094: Refer to PEP 318 in compound_statements.rst (GH-113588) (#113643)

Co-authored-by: John D. McDonald <43117960+Rasputin2@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2024-01-02 09:46:01 +01:00 committed by GitHub
parent c7a1431c43
commit 3b5c2da079
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1362,12 +1362,15 @@ access the local variables of the function containing the def. See section
:pep:`526` - Syntax for Variable Annotations :pep:`526` - Syntax for Variable Annotations
Ability to type hint variable declarations, including class Ability to type hint variable declarations, including class
variables and instance variables variables and instance variables.
:pep:`563` - Postponed Evaluation of Annotations :pep:`563` - Postponed Evaluation of Annotations
Support for forward references within annotations by preserving Support for forward references within annotations by preserving
annotations in a string form at runtime instead of eager evaluation. 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: .. _class: