[IPython-dev] comment toggling in notebook

Zoltán Vörös zvoros at gmail.com
Mon Dec 16 15:28:27 EST 2013


Hi all,

In the notebook, it is possible to comment out lines by pressing Cntr-/ 
. However, I don't think that it produces the intended result in the 
following case:

     print 'test' # this is just a test

When I press Cntr-/, I get

     print 'test' this is just a test

and when I press it the second time, I get

     # print 'test' this is just a test

Is there a reason for not leaving the line alone, and not removing only 
the leading hash marks? If the developers want me to, I can try to fix 
the code.

Cheers,
Zoltán



More information about the IPython-dev mailing list