contrib/check-code.py
changeset 25140 317333e0793c
parent 25139 6d3079e9b53f
child 25141 3ea8d6b5e665
--- a/contrib/check-code.py	Sun May 17 17:36:26 2015 -0700
+++ b/contrib/check-code.py	Sun May 17 17:40:26 2015 -0700
@@ -234,7 +234,7 @@
      "linebreak after :"),
     (r'class\s[^( \n]+:', "old-style class, use class foo(object)"),
     (r'class\s[^( \n]+\(\):',
-     "class foo() not available in Python 2.4, use class foo(object)"),
+     "class foo() creates old style object, use class foo(object)"),
     (r'\b(%s)\(' % '|'.join(k for k in keyword.kwlist
                             if k not in ('print', 'exec')),
      "Python keyword is not a function"),