Skip to content

Commit 63eeb0a

Browse files
committed
Change Port.__repr__() to not prefix u'...' on Python 2
1 parent a765f1e commit 63eeb0a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎jack.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ def __init__(self, port_ptr):
12771277
self._ptr = port_ptr
12781278

12791279
def __repr__(self):
1280-
return "jack.{0.__class__.__name__}({0.name!r})".format(self)
1280+
return "jack.{0.__class__.__name__}('{0.name}')".format(self)
12811281

12821282
def __eq__(self, other):
12831283
"""Ports are equal if their underlying port pointers are."""

0 commit comments

Comments
 (0)