mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Removed now useless convert functions.
This commit is contained in:
parent
49c2df16f5
commit
e03bf9c497
1 changed files with 0 additions and 12 deletions
12
Lib/aifc.py
12
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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue