mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
tracking python idle changes:
Provisional fix for writefile() [SF bug # 541730]
This commit is contained in:
parent
1c6192662d
commit
a2bc259dd7
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ class IOBinding:
|
|||
self.fixlastline()
|
||||
try:
|
||||
f = open(filename, "w")
|
||||
chars = self.text.get("1.0", "end-1c")
|
||||
chars = str(self.text.get("1.0", "end-1c"))
|
||||
f.write(chars)
|
||||
f.close()
|
||||
## print "saved to", `filename`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue