]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-81094: Refer to PEP 318 in compound_statements.rst (GH-113588) (#113643)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Jan 2024 08:46:01 +0000 (09:46 +0100)
committerGitHub <noreply@github.com>
Tue, 2 Jan 2024 08:46:01 +0000 (08:46 +0000)
Co-authored-by: John D. McDonald <43117960+Rasputin2@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Doc/reference/compound_stmts.rst

index 7a735095bdecb26529da08e706b362ea88d5186e..374404bf33abbe2c5b90e08ee1e007a011323c3c 100644 (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: