From: Sjoerd Mullender Date: Thu, 6 Jan 1994 17:00:04 +0000 (+0000) Subject: Removed now useless convert functions. X-Git-Tag: v1.0.1~53 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e03bf9c4974f3aad1a4dc21bb07b3ae91ad50b5d;p=thirdparty%2FPython%2Fcpython.git Removed now useless convert functions. --- diff --git a/Lib/aifc.py b/Lib/aifc.py index e10f6d3becf8..11dcfe564dbe 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -146,18 +146,6 @@ _AIFC_version = 0xA2805140 # Version 1 of AIFF-C _skiplist = 'COMT', 'INST', 'MIDI', 'AESD', \ 'APPL', 'NAME', 'AUTH', '(c) ', 'ANNO' -def _convert1(value, list): - for t in list: - if value == t[0]: - return t[1] - raise Error, 'unknown parameter value' - -def _convert2(value, list): - for t in list: - if value == t[1]: - return t[0] - raise Error, 'unknown parameter value' - def _read_long(file): x = 0L for i in range(4):