##// END OF EJS Templates
Backport PR #8271: Allow to set same mode as existing if load fails....
Backport PR #8271: Allow to set same mode as existing if load fails. Setting the mode many times in a row, would fail to actually set the mode if it was failing to load the mode the first time. The prevent the above behavior by falling back **explicitly** to 'null' if mode does not exist yet, or can't be loaded. ...

File last commit:

r20278:8f4dcac7
r21463:d66c4462
Show More
mynotebook.ipynb
69 lines | 1.1 KiB | text/plain | TextLexer

My Notebook

In [1]:
def foo():
    return "foo"
In [2]:
def has_ip_syntax():
    listing = !ls
    return listing
In [4]:
def whatsmyname():
    return __name__