Skip to content

Commit

Permalink
Replace print statement with print function (for Python 3).
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartkeith committed Feb 6, 2013
1 parent a1d844e commit c3761f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions example.py
Expand Up @@ -11,8 +11,8 @@

# this file is in 'single program dump' format, so the list will only have one
# patch.
print '"tribel.syx" contains %d patch(es).' % len(tribel)
print 'the first patch is named "%s".' % tribel[0].name
print('"tribel.syx" contains %d patch(es).' % len(tribel))
print('the first patch is named "%s".' % tribel[0].name)

# create a simple patch...
patch = simple_patch()
Expand Down Expand Up @@ -64,4 +64,4 @@
read_patches = sysex_to_esq1_patches('saved.syx')

# the truncated, uppercase name will be shown.
print 'read patch "%s".' % read_patches[0].name
print('read patch "%s".' % read_patches[0].name)

0 comments on commit c3761f8

Please sign in to comment.