summaryrefslogtreecommitdiffstats
path: root/Demo
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-10-07 10:25:49 (GMT)
committerGuido van Rossum <guido@python.org>1994-10-07 10:25:49 (GMT)
commitfc146cb9e001231fff2c13de79ff6805794d39de (patch)
treee60a92755de00db9ab2c8044e6f90a03bcff4d5e /Demo
parent50519c619057a91ddeda18eb105b29bab4810ed9 (diff)
downloadcpython-fc146cb9e001231fff2c13de79ff6805794d39de.zip
cpython-fc146cb9e001231fff2c13de79ff6805794d39de.tar.gz
cpython-fc146cb9e001231fff2c13de79ff6805794d39de.tar.bz2
init -> __init__
Diffstat (limited to 'Demo')
-rwxr-xr-xDemo/sgi/cd/cdaiff.py2
-rwxr-xr-xDemo/sgi/cd/playcd.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Demo/sgi/cd/cdaiff.py b/Demo/sgi/cd/cdaiff.py
index 3f14bce..e66f6a4 100755
--- a/Demo/sgi/cd/cdaiff.py
+++ b/Demo/sgi/cd/cdaiff.py
@@ -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:
diff --git a/Demo/sgi/cd/playcd.py b/Demo/sgi/cd/playcd.py
index 1735ac1..b245ff0 100755
--- a/Demo/sgi/cd/playcd.py
+++ b/Demo/sgi/cd/playcd.py
@@ -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 <> '':