mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 09:26:16 +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,
|
||||
self.index, self.title, self.desc,
|
||||
TYPE_STR[self.type], UNIT_STR[self.unit],
|
||||
`self.constraint`, active, settable)
|
||||
repr(self.constraint), active, settable)
|
||||
return s
|
||||
|
||||
|
||||
|
|
|
@ -483,7 +483,7 @@ class PILDriver:
|
|||
self.push(list[0])
|
||||
list = list[1:]
|
||||
if self.verbose:
|
||||
print("Stack: " + `self.stack`)
|
||||
print("Stack: " + repr(self.stack))
|
||||
top = self.top()
|
||||
if type(top) != type(""):
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user