Skip to content

Commit f8b61c7

Browse files
miss-islingtonRasputin2hugovk
authored
[3.11] gh-81094: Refer to PEP 318 in compound_statements.rst (GH-113588) (#113644)
Co-authored-by: John D. McDonald <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 3615349 commit f8b61c7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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)