[vlc-commits] print() is a function in Python 3

cclauss git at videolan.org
Fri Jul 13 12:00:42 CEST 2018


vlc/python | branch: master | cclauss <cclauss at bluewin.ch> | Sun Jul  1 14:46:38 2018 +0200| [b9496780526464e802aa3e411d988dadff6b1fc7] | committer: GitHub

print() is a function in Python 3

> http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=b9496780526464e802aa3e411d988dadff6b1fc7
---

 tests/gctest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/gctest.py b/tests/gctest.py
index 4966b3f..d5ab8d6 100755
--- a/tests/gctest.py
+++ b/tests/gctest.py
@@ -16,7 +16,7 @@ i = vlc.Instance()
 p = vlc.MediaPlayer()
 
 def poschanged(foo):
-    print "poschanged"
+    print("poschanged")
 
 for n in range(10):
     p.stop()



More information about the vlc-commits mailing list