##// END OF EJS Templates
Make the formatting of a code block name extendable...
Make the formatting of a code block name extendable Currently the user display of a code block requires a tight coupling between the caching compiler and the ultratb file, i.e., ultratb needs to know internal private variables of the caching compiler. This change makes the user-visible display of the code block name the responsibility of the caching compiler. A nice result is that the caching compiler can be overridden to have custom terminology in different systems for code blocks executed.

File last commit:

r21637:d1ce07b2
r27875:1c3678bf
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__