From a193c2c0aa053cd8fe163e32b8b15087088102a3 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Tue, 31 Mar 2020 09:45:30 -0400 Subject: [PATCH] HACKING.rst: add note about variable annotations --- HACKING.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HACKING.rst b/HACKING.rst index 6ceba2efe29..0c144ac7b46 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/