From 50fcf066ab4f35014581d4e534c237939eb9a4b2 2023-12-30 01:01:39 From: Jack Lee <38123458+jackhclee@users.noreply.github.com> Date: 2023-12-30 01:01:39 Subject: [PATCH] Update basic.py Fix example --- diff --git a/IPython/core/magics/basic.py b/IPython/core/magics/basic.py index 865e760..3ac4049 100644 --- a/IPython/core/magics/basic.py +++ b/IPython/core/magics/basic.py @@ -124,7 +124,7 @@ class BasicMagics(Magics): In [6]: %whereami Out[6]: '/home/testuser' - In [7]: %alias_magic h history "-p -l 30" --line + In [7]: %alias_magic h history -p "-l 30" --line Created `%h` as an alias for `%history -l 30`. """