Commits

Anonymous committed 4c571d8

init -> __init__

  • Participants
  • Parent commits b2c56e0
  • Branches legacy-trunk

Comments (0)

Files changed (2)

Demo/sgi/cd/cdaiff.py

 	a.setsampwidth(AL.SAMPLE_16)
 	a.setnchannels(AL.STEREO)
 	a.setframerate(AL.RATE_44100)
-	r = readcd.Readcd().init()
+	r = readcd.Readcd()
 	for arg in sys.argv[2:]:
 		x = eval(arg)
 		try:

Demo/sgi/cd/playcd.py

 def main():
 	import sys, readcd, al, AL, CD, cdplayer
 	verbose = 0
-	r = readcd.Readcd().init()
+	r = readcd.Readcd()
 	prstatus(r.getstatus())
 	prtrackinfo(r.gettrackinfo())
-	cdinfo = cdplayer.Cdplayer().init(r.gettrackinfo())
+	cdinfo = cdplayer.Cdplayer(r.gettrackinfo())
 	if cdinfo.title <> '':
 		print 'Title: "' + cdinfo.title + '"'
 	if cdinfo.artist <> '':