Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
eef26075
Commit
eef26075
authored
Jan 13, 2003
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Duh. The do_EOF() implementation was bogus. Make it more like
do_quit() -- but print a blank line first.
parent
1a997501
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Lib/pdb.py
Lib/pdb.py
+5
-3
No files found.
Lib/pdb.py
View file @
eef26075
...
...
@@ -193,9 +193,6 @@ class Pdb(bdb.Bdb, cmd.Cmd):
do_h
=
cmd
.
Cmd
.
do_help
def
do_EOF
(
self
,
arg
):
return
0
# Don't die on EOF
def
do_break
(
self
,
arg
,
temporary
=
0
):
# break [ ([filename:]lineno | function) [, "condition"] ]
if
not
arg
:
...
...
@@ -531,6 +528,11 @@ class Pdb(bdb.Bdb, cmd.Cmd):
do_q
=
do_quit
do_exit
=
do_quit
def
do_EOF
(
self
,
arg
):
print
self
.
set_quit
()
return
1
def
do_args
(
self
,
arg
):
f
=
self
.
curframe
co
=
f
.
f_code
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment