From a0fa477ef6a9964ab4df9267fefe2e4e010f6a86 2010-08-26 08:50:33 From: Fernando Perez Date: 2010-08-26 08:50:33 Subject: [PATCH] Fix broken example in %alias docstring ('all' is now a builtin) --- diff --git a/IPython/core/magic.py b/IPython/core/magic.py index 4f9d2a2..b954308 100644 --- a/IPython/core/magic.py +++ b/IPython/core/magic.py @@ -2635,8 +2635,8 @@ Defaulting color scheme to 'NoColor'""" You can use the %l specifier in an alias definition to represent the whole line when the alias is called. For example: - In [2]: alias all echo "Input in brackets: <%l>" - In [3]: all hello world + In [2]: alias bracket echo "Input in brackets: <%l>" + In [3]: bracket hello world Input in brackets: You can also define aliases with parameters using %s specifiers (one