Skip to content

Commit d0a387e

Browse files
Rasputin2hugovk
authored andcommitted
pythongh-81094: Refer to PEP 318 in compound_statements.rst (pythonGH-113588)
(cherry picked from commit 8ff44f8) Co-authored-by: John D. McDonald <43117960+Rasputin2@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent 3615349 commit d0a387e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Doc/reference/compound_stmts.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,12 +1354,15 @@ access the local variables of the function containing the def. See section
13541354

13551355
:pep:`526` - Syntax for Variable Annotations
13561356
Ability to type hint variable declarations, including class
1357-
variables and instance variables
1357+
variables and instance variables.
13581358

13591359
:pep:`563` - Postponed Evaluation of Annotations
13601360
Support for forward references within annotations by preserving
13611361
annotations in a string form at runtime instead of eager evaluation.
13621362

1363+
:pep:`318` - Decorators for Functions and Methods
1364+
Function and method decorators were introduced.
1365+
Class decorators were introduced in :pep:`3129`.
13631366

13641367
.. _class:
13651368

0 commit comments

Comments
 (0)