diff options
author | John D. McDonald <43117960+Rasputin2@users.noreply.github.com> | 2024-01-02 08:40:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-02 08:40:14 (GMT) |
commit | 8ff44f855450244d965dbf82c7f0a31de666007c (patch) | |
tree | 6c762b9ebbf21681997a866a926843de52f3262e | |
parent | 7595380347610598a3f5529214a449660892537b (diff) | |
download | cpython-8ff44f855450244d965dbf82c7f0a31de666007c.zip cpython-8ff44f855450244d965dbf82c7f0a31de666007c.tar.gz cpython-8ff44f855450244d965dbf82c7f0a31de666007c.tar.bz2 |
gh-81094: Refer to PEP 318 in compound_statements.rst (#113588)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
-rw-r--r-- | Doc/reference/compound_stmts.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 7a73509..374404b 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -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: |