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
d1c08f33
Commit
d1c08f33
authored
Apr 15, 2002
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add exit as alias for quit, as the easiest way to address SF bug
#543674. Bugfix candidate.
parent
beae4777
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Lib/pdb.py
Lib/pdb.py
+4
-1
No files found.
Lib/pdb.py
View file @
d1c08f33
...
...
@@ -497,6 +497,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
self
.
set_quit
()
return
1
do_q
=
do_quit
do_exit
=
do_quit
def
do_args
(
self
,
arg
):
f
=
self
.
curframe
...
...
@@ -819,9 +820,11 @@ command with a 'global' command, e.g.:
self
.
help_q
()
def
help_q
(
self
):
print
"""q(uit) Quit from the debugger.
print
"""q(uit)
or exit -
Quit from the debugger.
The program being executed is aborted."""
help_exit
=
help_q
def
help_whatis
(
self
):
print
"""whatis arg
Prints the type of the argument."""
...
...
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