From 180196f281fd65837e53c13204ac345768d3a697 Mon Sep 17 00:00:00 2001 From: Peter Cock Date: Wed, 26 Apr 2017 10:57:33 +0000 Subject: [PATCH] Note about error behaviour depending on Python version, e.g. F812 --- docs/source/user/error-codes.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/source/user/error-codes.rst b/docs/source/user/error-codes.rst index dbaf35e..f14c4ec 100644 --- a/docs/source/user/error-codes.rst +++ b/docs/source/user/error-codes.rst @@ -70,6 +70,9 @@ generates its own :term:`error code`\ s for ``pyflakes``: | F841 | local variable ``name`` is assigned to but never used | +------+---------------------------------------------------------------------+ +Note that some of these entries behave differently on Python 2 and Python 3, +for example F812 is specific to Python 2 only. + We also report one extra error: ``E999``. We report ``E999`` when we fail to compile a file into an Abstract Syntax Tree for the plugins that require it.