summaryrefslogtreecommitdiffstats
path: root/Doc/reference/simple_stmts.rst
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-10-19 23:31:15 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-10-19 23:31:15 (GMT)
commit0f14fc1a7cb2ea0012d0a943e4460acdee2108d7 (patch)
treedd18c899362f87c115e1344e0610b843deaf4d4f /Doc/reference/simple_stmts.rst
parent6f17e51345d930ccb4db306acc12b7d1f6c5e690 (diff)
downloadcpython-0f14fc1a7cb2ea0012d0a943e4460acdee2108d7.zip
cpython-0f14fc1a7cb2ea0012d0a943e4460acdee2108d7.tar.gz
cpython-0f14fc1a7cb2ea0012d0a943e4460acdee2108d7.tar.bz2
bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)
Diffstat (limited to 'Doc/reference/simple_stmts.rst')
-rw-r--r--Doc/reference/simple_stmts.rst9
1 files changed, 8 insertions, 1 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index bb1eea6..f98721c 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -353,8 +353,15 @@ target, then the interpreter evaluates the target except for the last
.. seealso::
- :pep:`526` - Variable and attribute annotation syntax
+ :pep:`526` - Syntax for Variable Annotations
+ The proposal that added syntax for annotating the types of variables
+ (including class variables and instance variables), instead of expressing
+ them through comments.
+
:pep:`484` - Type hints
+ The proposal that added the :mod:`typing` module to provide a standard
+ syntax for type annotations that can be used in static analysis tools and
+ IDEs.
.. _assert: