mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
re-checkin with "ISO-8859 translation" turned on.
This commit is contained in:
parent
b8bf163dde
commit
edab93939e
12 changed files with 58 additions and 58 deletions
|
|
@ -57,7 +57,7 @@ def syntaxerror(self):
|
|||
filename = os.path.split(filename)[1]
|
||||
if lineno:
|
||||
charno = charno - 1
|
||||
text = str(value) + '\rFile: "' + str(filename) + '", line ' + str(lineno) + '\r\r' + line[:charno] + "¥" + line[charno:-1]
|
||||
text = str(value) + '\rFile: "' + str(filename) + '", line ' + str(lineno) + '\r\r' + line[:charno] + "€" + line[charno:-1]
|
||||
else:
|
||||
text = str(value) + '\rFile: "' + str(filename) + '"'
|
||||
self.syntaxdialog = W.ModalDialog((360, 120), "Syntax Error")
|
||||
|
|
@ -123,10 +123,10 @@ def setupwidgets(self):
|
|||
self.w.editbutton = W.Button((10, -30, 60, 16), "Edit", self.edit)
|
||||
self.w.editbutton.enable(0)
|
||||
|
||||
self.w.browselocalsbutton = W.Button((80, -30, 100, 16), "Browse localsÉ", self.browselocals)
|
||||
self.w.browselocalsbutton = W.Button((80, -30, 100, 16), "Browse localsŠ", self.browselocals)
|
||||
self.w.browselocalsbutton.enable(0)
|
||||
|
||||
self.w.postmortembutton = W.Button((190, -30, 100, 16), "Post mortemÉ", self.postmortem)
|
||||
self.w.postmortembutton = W.Button((190, -30, 100, 16), "Post mortemŠ", self.postmortem)
|
||||
|
||||
self.w.setdefaultbutton(self.w.editbutton)
|
||||
self.w.bind("cmdb", self.w.browselocalsbutton.push)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue