mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Uniformly replaced init() functions by __init__() constructors.
A few simple things seem to work, I haven't tested it thouroughly though...
This commit is contained in:
parent
96b608cf6d
commit
21a3ff9d5d
27 changed files with 86 additions and 95 deletions
|
|
@ -119,10 +119,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 = DisplayVideoIn.DisplayVideoIn().init(pktmax, \
|
||||
width, height, vtype)
|
||||
lvi = DisplayVideoIn.DisplayVideoIn(pktmax, width, height, vtype)
|
||||
|
||||
if xpos or ypos:
|
||||
lvi.positionvideo(xpos, ypos)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue