summaryrefslogtreecommitdiffstats
path: root/Lib/irix5/readcd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/irix5/readcd.py')
-rwxr-xr-xLib/irix5/readcd.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/irix5/readcd.py b/Lib/irix5/readcd.py
index 23c00ed..7af6882 100755
--- a/Lib/irix5/readcd.py
+++ b/Lib/irix5/readcd.py
@@ -22,7 +22,7 @@ def _dopnum(self, cb_type, data):
func(arg, cb_type, data)
class Readcd:
- def init(self, *arg):
+ def __init__(self, *arg):
if len(arg) == 0:
self.player = cd.open()
elif len(arg) == 1:
@@ -38,7 +38,6 @@ class Readcd:
self.end = 0
self.status = None
self.trackinfo = None
- return self
def eject(self):
self.player.eject()