UtilitiesPython2/pep8.py

changeset 2866
c77e08c38a5c
parent 2864
d973dab8b715
child 2899
88d2458a4739
diff -r d973dab8b715 -r c77e08c38a5c UtilitiesPython2/pep8.py
--- a/UtilitiesPython2/pep8.py	Sat Aug 24 12:22:40 2013 +0200
+++ b/UtilitiesPython2/pep8.py	Sat Aug 24 14:44:55 2013 +0200
@@ -956,6 +956,7 @@
         yield match.start(), "E721"
 
 
+def python_3000_has_key(logical_line):
     r"""
     The {}.has_key() method is removed in the Python 3.
     Use the 'in' operation instead.

eric ide

mercurial