# HG changeset patch # User Renato Cunha # Date 2010-08-07 19:13:53 # Node ID 16723af520b0e5cffa16e4584c705fe14f178f48 # Parent 69e0bcf369614f5c36e244872f0f8ca709036a6a check-code: added a check for calls to the builtin cmp function diff --git a/contrib/check-code.py b/contrib/check-code.py --- a/contrib/check-code.py +++ b/contrib/check-code.py @@ -74,6 +74,7 @@ pypats = [ "tuple parameter unpacking not available in Python 3+"), (r'lambda\s*\(.*,.*\)', "tuple parameter unpacking not available in Python 3+"), + (r'(?