diff options
author | Guido van Rossum <guido@python.org> | 1993-05-24 14:16:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-05-24 14:16:22 (GMT) |
commit | d316607732aa70361d5793f6b301b70fab7ca367 (patch) | |
tree | d87376c3075042ebffdbf8bb13416f8055a5fd13 /Lib/aifc.py | |
parent | b3f7258f14cb2f3e52236a4087ed82541a173e7b (diff) | |
download | cpython-d316607732aa70361d5793f6b301b70fab7ca367.zip cpython-d316607732aa70361d5793f6b301b70fab7ca367.tar.gz cpython-d316607732aa70361d5793f6b301b70fab7ca367.tar.bz2 |
* ftplib.py: added abort() command (sends oob data).
* Several modules: change "class C(): ..." to "class C: ...".
* flp.py: support for frozen forms.
* Added string.find() which is like index but returns -1 if not found
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r-- | Lib/aifc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py index 4e919d4..bad5e43 100644 --- a/Lib/aifc.py +++ b/Lib/aifc.py @@ -281,7 +281,7 @@ def _write_float(f, x): _write_long(f, himant) _write_long(f, lomant) -class Chunk(): +class Chunk: def init(self, file): self.file = file self.chunkname = self.file.read(4) @@ -322,7 +322,7 @@ class Chunk(): if self.chunksize & 1: dummy = self.read(1) -class Aifc_read(): +class Aifc_read: # Variables used in this class: # # These variables are available to the user though appropriate @@ -568,7 +568,7 @@ class Aifc_read(): name = _read_string(chunk) self._markers.append((id, pos, name)) -class Aifc_write(): +class Aifc_write: # Variables used in this class: # # These variables are user settable through appropriate methods |