mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 10:16:17 +03:00
py3k: Convert backticks to repr()
Backticks are no longer valid syntax for repr().
This commit is contained in:
parent
a453007651
commit
f6fa0941fd
|
@ -85,7 +85,7 @@ active: %s
|
||||||
settable: %s\n""" % (self.py_name, curValue,
|
settable: %s\n""" % (self.py_name, curValue,
|
||||||
self.index, self.title, self.desc,
|
self.index, self.title, self.desc,
|
||||||
TYPE_STR[self.type], UNIT_STR[self.unit],
|
TYPE_STR[self.type], UNIT_STR[self.unit],
|
||||||
`self.constraint`, active, settable)
|
repr(self.constraint), active, settable)
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -483,7 +483,7 @@ class PILDriver:
|
||||||
self.push(list[0])
|
self.push(list[0])
|
||||||
list = list[1:]
|
list = list[1:]
|
||||||
if self.verbose:
|
if self.verbose:
|
||||||
print("Stack: " + `self.stack`)
|
print("Stack: " + repr(self.stack))
|
||||||
top = self.top()
|
top = self.top()
|
||||||
if type(top) != type(""):
|
if type(top) != type(""):
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user