summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMike Miller <mike@mtmxr.com>2016-06-02 12:44:23 -0700
committerMike Miller <mike@mtmxr.com>2016-06-02 14:34:16 -0700
commit26893dafe4562caefeb200c990972bc6262842d9 (patch)
treeb8640109c4755ba4dbd84859248489e23de38f3c /docs
parenta99bcecd4bb690271b5f0c92b22d3b2c8c872ec7 (diff)
downloadpep8-26893dafe4562caefeb200c990972bc6262842d9.tar.gz
Report E741 for prohibited single-letter variables
Check for prohibited identifiers occuring to the lhs of an assignment operator or after the 'as' keyword. Closes #341
Diffstat (limited to 'docs')
-rw-r--r--docs/intro.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/intro.rst b/docs/intro.rst
index 12f67d7..bfa6786 100644
--- a/docs/intro.rst
+++ b/docs/intro.rst
@@ -358,6 +358,8 @@ This is the current list of error and warning codes:
+------------+----------------------------------------------------------------------+
| E731 | do not assign a lambda expression, use a def |
+------------+----------------------------------------------------------------------+
+| E741 | do not use variables named 'l', 'O', or 'I' |
++------------+----------------------------------------------------------------------+
+------------+----------------------------------------------------------------------+
| **E9** | *Runtime* |
+------------+----------------------------------------------------------------------+