contrib/check-code.py
changeset 20796 131f7fe06e9e
parent 20688 a61ed1c2d7a7
child 20870 6500a2eebee8
--- a/contrib/check-code.py	Wed Mar 19 16:21:53 2014 -0500
+++ b/contrib/check-code.py	Wed Mar 19 18:04:03 2014 -0500
@@ -191,6 +191,7 @@
 
 pypats = [
   [
+    (r'\([^)]*\*\w[^()]+\w+=', "can't pass varargs with keyword in Py2.5"),
     (r'^\s*def\s*\w+\s*\(.*,\s*\(',
      "tuple parameter unpacking not available in Python 3+"),
     (r'lambda\s*\(.*,.*\)',