Skip to content

Commit 5b3cebe

Browse files
committed
Adds reference to PEP 318 standard in the compound_statements.rst after Function definitions section.
1 parent f46987b commit 5b3cebe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Doc/reference/compound_stmts.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,8 @@ access the local variables of the function containing the def. See section
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.
13711373

13721374
.. _class:
13731375

0 commit comments

Comments
 (0)