diff options
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-x | Lib/cgi.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py index 41dc433cd8..4c617a6e13 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -608,14 +608,6 @@ class FieldStorage: if item.name not in keys: keys.append(item.name) return keys - def has_key(self, key): - """Dictionary style has_key() method.""" - if self.list is None: - raise TypeError, "not indexable" - for item in self.list: - if item.name == key: return True - return False - def __contains__(self, key): """Dictionary style __contains__ method.""" if self.list is None: |