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

Commit22eb8bc

Browse files
committed
Backport 1.60 -- because this is an annoyance that Zope folks run into
and Zope 2.6 (which requires Python 2.1.x) isn't dead yet.Duh. The do_EOF() implementation was bogus. Make it more likedo_quit() -- but print a blank line first.
1 parent0c71748 commit22eb8bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎Lib/pdb.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,9 @@ def precmd(self, line):
181181
do_h=cmd.Cmd.do_help
182182

183183
defdo_EOF(self,arg):
184-
return0# Don't die on EOF
184+
print
185+
self.set_quit()
186+
return1
185187

186188
defdo_break(self,arg,temporary=0):
187189
# break [ ([filename:]lineno | function) [, "condition"] ]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp