mirror of https://github.com/python/cpython.git
init -> __init__
This commit is contained in:
parent
50519c6190
commit
fc146cb9e0
|
@ -17,7 +17,7 @@ def main():
|
|||
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:
|
||||
|
|
|
@ -52,10 +52,10 @@ def prstatus(status):
|
|||
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 <> '':
|
||||
|
|
Loading…
Reference in New Issue