summaryrefslogtreecommitdiffstats
path: root/Lib/code.py
diff options
context:
space:
mode:
authorMathias Rav <mathiasrav@gmail.com>2017-04-26 10:49:45 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2017-04-26 10:49:45 (GMT)
commit87c07fe9d908d0a2143fcc8369255c6ff3241503 (patch)
tree4c5707b04d8d723cf23dc8f2185ea6c53ddd52b1 /Lib/code.py
parent0d637e236d7099f7b724026c8cb7bd83d8e12e6b (diff)
downloadcpython-87c07fe9d908d0a2143fcc8369255c6ff3241503.zip
cpython-87c07fe9d908d0a2143fcc8369255c6ff3241503.tar.gz
cpython-87c07fe9d908d0a2143fcc8369255c6ff3241503.tar.bz2
bpo-29974: Improve typing.TYPE_CHECKING example (GH-982)
* Fix PEP 8 (SomeType instead of some_type) * Add a function parameter annotation * Explain, using wording from PEP 484 and PEP 526, why one annotation is in quotes and another is not. Suggested by Ivan Levkevskyi.
Diffstat (limited to 'Lib/code.py')
0 files changed, 0 insertions, 0 deletions