Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita646e29

Browse files
committed
patch from Trundle to fix weirdness re: SyntaxError logging to stdout history
1 parenta92f864 commita646e29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎bpython/cli.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def showsyntaxerror(self, filename=None):
203203
value=SyntaxError(msg, (filename,lineno,offset,line))
204204
sys.last_value=value
205205
list=traceback.format_exception_only(type,value)
206-
map(self.writetb,list)
206+
self.writetb(list)
207207

208208
defshowtraceback(self):
209209
"""This needs to override the default traceback thing

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp