Skip to content

Commit

Permalink
Merge pull request #1999 from bfroehle/magic_help_improvements
Browse files Browse the repository at this point in the history
`%magic` help: display line and cell magics in alphabetical order.
  • Loading branch information
fperez committed Jun 21, 2012
2 parents a1c5e37 + cba3f1f commit d6ffbc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IPython/core/magics/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def magic(self, parameter_s=''):

for mtype in ('line', 'cell'):
escape = escapes[mtype]
for fname, fn in magics[mtype].iteritems():
for fname, fn in sorted(magics[mtype].items()):

if mode == 'brief':
# only first line
Expand Down

0 comments on commit d6ffbc8

Please sign in to comment.