Skip to content

Commit

Permalink
pythongh-81094: Refer to PEP 318 in compound_statements.rst (pythonGH…
Browse files Browse the repository at this point in the history
…-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>
  • Loading branch information
2 people authored and miss-islington committed Jan 2, 2024
1 parent c7a1431 commit 596f999
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Doc/reference/compound_stmts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 596f999

Please sign in to comment.