From f51e3d0e23b2873f077d1b7b3ac6874b94b1a374 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Tue, 31 Mar 2020 16:47:34 -0400 Subject: HACKING.rst: add note about variable annotations (#295) --- HACKING.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HACKING.rst b/HACKING.rst index 6ceba2ef..0c144ac7 100644 --- a/HACKING.rst +++ b/HACKING.rst @@ -198,4 +198,9 @@ additional Python module on platforms using Python 3.4. As such platforms are generally in maintenance mode, the introduction of a new dependency may act as a break in compatibility in practical terms. +Similarly, only function annotations are appropriate for use, as the +variable annotations specified in `PEP-526`_ were introduced in Python +3.6. + .. _PEP-484: https://www.python.org/dev/peps/pep-0484/ +.. _PEP-526: https://www.python.org/dev/peps/pep-0526/ -- cgit v1.2.3