diff options
author | Guido van Rossum <guido@python.org> | 1993-12-17 15:11:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-12-17 15:11:41 (GMT) |
commit | 21a3ff9d5d9d8cad0bc52cb603df93d38e139840 (patch) | |
tree | 533c4f8e2a23ecaa6099c868035b1463881ff1a7 /Demo/sgi/video/Vcopy.py | |
parent | 96b608cf6ddb4c7b670c15a365ed8b14accd5d37 (diff) | |
download | cpython-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/Vcopy.py')
-rwxr-xr-x | Demo/sgi/video/Vcopy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/video/Vcopy.py b/Demo/sgi/video/Vcopy.py index ef26f55..59c06a0 100755 --- a/Demo/sgi/video/Vcopy.py +++ b/Demo/sgi/video/Vcopy.py @@ -149,7 +149,7 @@ def process(infilename, outfilename): global newwidth, newheight, newpf try: - vin = VFile.BasicVinFile().init(infilename) + vin = VFile.BasicVinFile(infilename) except IOError, msg: sys.stderr.write(infilename + ': I/O error: ' + `msg` + '\n') return 1 @@ -161,7 +161,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 |