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
be74a378
Commit
be74a378
authored
Sep 11, 2009
by
Benjamin Peterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#6888 fix the alias command with no arguments
parent
1f316975
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Lib/pdb.py
Lib/pdb.py
+1
-2
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Lib/pdb.py
View file @
be74a378
...
...
@@ -841,8 +841,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
def
do_alias
(
self
,
arg
):
args
=
arg
.
split
()
if
len
(
args
)
==
0
:
keys
=
self
.
aliases
.
keys
()
keys
.
sort
()
keys
=
sorted
(
self
.
aliases
.
keys
())
for
alias
in
keys
:
print
(
"%s = %s"
%
(
alias
,
self
.
aliases
[
alias
]),
file
=
self
.
stdout
)
return
...
...
Misc/NEWS
View file @
be74a378
...
...
@@ -70,6 +70,8 @@ C-API
Library
-------
- Issue #6888: pdb's alias command was broken when no arguments were given.
- Issue #6857: Default format() alignment should be '>' for Decimal
instances.
...
...
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