Visitar URL original
bpo-29110: add test for Aifc_write. by methane · Pull Request #293 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add comment for _file class attribute
  • Loading branch information
methane committed Feb 26, 2017
commit a04c4337e29c484b8e919f7234a87c4583ae6bbe
4 changes: 2 additions & 2 deletions Lib/aifc.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class Aifc_read:
# _ssnd_chunk -- instantiation of a chunk class for the SSND chunk
# _framesize -- size of one frame in the file

_file = None
_file = None # Set here since __del__ checks it

def initfp(self, file):
self._version = 0
Expand Down Expand Up @@ -549,7 +549,7 @@ class Aifc_write:
# _datalength -- the size of the audio samples written to the header
# _datawritten -- the size of the audio samples actually written

_file = None
_file = None # Set here since __del__ checks it

def __init__(self, f):
if isinstance(f, str):
Expand Down