mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
Temporary fix for access statement.
Definition of Error was missing.
This commit is contained in:
parent
e2cb7274ea
commit
f33a69f273
1 changed files with 3 additions and 1 deletions
|
@ -128,6 +128,8 @@ _simple_encodings = [AUDIO_FILE_ENCODING_MULAW_8,
|
|||
AUDIO_FILE_ENCODING_LINEAR_32,
|
||||
AUDIO_FILE_ENCODING_ALAW_8]
|
||||
|
||||
Error = 'sunau.Error'
|
||||
|
||||
def _read_u32(file):
|
||||
x = 0L
|
||||
for i in range(4):
|
||||
|
@ -408,7 +410,7 @@ class Au_write:
|
|||
#
|
||||
# private methods
|
||||
#
|
||||
access *: private
|
||||
if 0: access *: private
|
||||
|
||||
def _ensure_header_written(self):
|
||||
if not self._nframeswritten:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue