summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/Vtime.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-12-17 15:11:41 (GMT)
committerGuido van Rossum <guido@python.org>1993-12-17 15:11:41 (GMT)
commit21a3ff9d5d9d8cad0bc52cb603df93d38e139840 (patch)
tree533c4f8e2a23ecaa6099c868035b1463881ff1a7 /Demo/sgi/video/Vtime.py
parent96b608cf6ddb4c7b670c15a365ed8b14accd5d37 (diff)
downloadcpython-21a3ff9d5d9d8cad0bc52cb603df93d38e139840.zip
cpython-21a3ff9d5d9d8cad0bc52cb603df93d38e139840.tar.gz
cpython-21a3ff9d5d9d8cad0bc52cb603df93d38e139840.tar.bz2
Uniformly replaced init() functions by __init__() constructors.
A few simple things seem to work, I haven't tested it thouroughly though...
Diffstat (limited to 'Demo/sgi/video/Vtime.py')
-rwxr-xr-xDemo/sgi/video/Vtime.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/video/Vtime.py b/Demo/sgi/video/Vtime.py
index 321e233..be161cc 100755
--- a/Demo/sgi/video/Vtime.py
+++ b/Demo/sgi/video/Vtime.py
@@ -65,7 +65,7 @@ def main():
def process(infilename, outfilename):
try:
- vin = VFile.BasicVinFile().init(infilename)
+ vin = VFile.BasicVinFile(infilename)
except IOError, msg:
sys.stderr.write(infilename + ': I/O error: ' + `msg` + '\n')
return 1
@@ -77,7 +77,7 @@ def process(infilename, outfilename):
return 1
try:
- vout = VFile.BasicVoutFile().init(outfilename)
+ vout = VFile.BasicVoutFile(outfilename)
except IOError, msg:
sys.stderr.write(outfilename + ': I/O error: ' + `msg` + '\n')
return 1