summaryrefslogtreecommitdiffstats
path: root/Demo/sgi/video/Vsend.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/Vsend.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/Vsend.py')
-rwxr-xr-xDemo/sgi/video/Vsend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sgi/video/Vsend.py b/Demo/sgi/video/Vsend.py
index 94f2b52..cc1e1ca 100755
--- a/Demo/sgi/video/Vsend.py
+++ b/Demo/sgi/video/Vsend.py
@@ -96,9 +96,9 @@ def main():
gl.qdevice(DEVICE.WINTHAW)
width, height = gl.getsize()
- lvo = LiveVideoOut.LiveVideoOut().init(wid, width, height, vtype)
+ lvo = LiveVideoOut.LiveVideoOut(wid, width, height, vtype)
- lvi = LiveVideoIn.LiveVideoIn().init(pktmax, width, height, vtype)
+ lvi = LiveVideoIn.LiveVideoIn(pktmax, width, height, vtype)
s = socket(AF_INET, SOCK_DGRAM)
s.setsockopt(SOL_SOCKET, SO_BROADCAST, 1)