Plugins/CheckerPlugins/Pep8/pep8.py

changeset 2866
c77e08c38a5c
parent 2864
d973dab8b715
child 2899
88d2458a4739
child 2911
ce77f0b1ee67
--- a/Plugins/CheckerPlugins/Pep8/pep8.py	Sat Aug 24 12:22:40 2013 +0200
+++ b/Plugins/CheckerPlugins/Pep8/pep8.py	Sat Aug 24 14:44:55 2013 +0200
@@ -1114,6 +1114,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