From 4a347f74e403f663176e0c880693a73f9a39d497 2023-01-27 13:11:59 From: Deepyaman Datta Date: 2023-01-27 13:11:59 Subject: [PATCH] Fix formatting of usage examples for `set_env` magic --- diff --git a/IPython/core/magics/osm.py b/IPython/core/magics/osm.py index f3fa246..f64f1bc 100644 --- a/IPython/core/magics/osm.py +++ b/IPython/core/magics/osm.py @@ -468,9 +468,9 @@ class OSMagics(Magics): string. Usage:\\ - %set_env var val: set value for var - %set_env var=val: set value for var - %set_env var=$val: set value for var, using python expansion if possible + :``%set_env var val``: set value for var + :``%set_env var=val``: set value for var + :``%set_env var=$val``: set value for var, using python expansion if possible """ split = '=' if '=' in parameter_s else ' ' bits = parameter_s.split(split, 1)