Skip to content

Commit 8ff44f8

Browse files
Rasputin2hugovk
andauthored
gh-81094: Refer to PEP 318 in compound_statements.rst (#113588)
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 7595380 commit 8ff44f8

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
@@ -1362,12 +1362,15 @@ access the local variables of the function containing the def. See section
13621362

13631363
:pep:`526` - Syntax for Variable Annotations
13641364
Ability to type hint variable declarations, including class
1365-
variables and instance variables
1365+
variables and instance variables.
13661366

13671367
:pep:`563` - Postponed Evaluation of Annotations
13681368
Support for forward references within annotations by preserving
13691369
annotations in a string form at runtime instead of eager evaluation.
13701370

1371+
:pep:`318` - Decorators for Functions and Methods
1372+
Function and method decorators were introduced.
1373+
Class decorators were introduced in :pep:`3129`.
13711374

13721375
.. _class:
13731376

0 commit comments

Comments
 (0)