* 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
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 @@
_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 @@
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 @@
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