diff options
author | Collin Winter <collinw@gmail.com> | 2007-08-03 17:06:41 (GMT) |
---|---|---|
committer | Collin Winter <collinw@gmail.com> | 2007-08-03 17:06:41 (GMT) |
commit | 6afaeb757af0dbd8508a0f2352ade61e41bec84c (patch) | |
tree | f1b31bc7138b17ff39791bbb45aa81583c3b6e46 /Tools/audiopy | |
parent | e5d0e8431f929cad2da77b63fe1b7dc0ff21a428 (diff) | |
download | cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.zip cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.tar.gz cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.tar.bz2 |
Convert print statements to function calls in Tools/.
Diffstat (limited to 'Tools/audiopy')
-rwxr-xr-x | Tools/audiopy/audiopy | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/audiopy/audiopy b/Tools/audiopy/audiopy index 869d87a..5222c1a 100755 --- a/Tools/audiopy/audiopy +++ b/Tools/audiopy/audiopy @@ -401,9 +401,9 @@ class Helpwin: def usage(code, msg=''): - print __doc__ % globals() + print(__doc__ % globals()) if msg: - print msg + print(msg) sys.exit(code) @@ -455,11 +455,11 @@ def main(): i = i + 1 continue elif arg in ('-v', '--version'): - print '''\ + print('''\ audiopy -- a program to control the Solaris audio device. Contact: Barry Warsaw Email: bwarsaw@python.org -Version: %s''' % __version__ +Version: %s''' % __version__) sys.exit(0) for long, short, io, mask in options: if arg in (long, short): |