##// END OF EJS Templates
Removed "cell_types" parameter from "select_ui_generator"....
Removed "cell_types" parameter from "select_ui_generator". If you don't want to show the UI element in a cell use the "register_callback" optional parameter.

File last commit:

r15516:43a46eb6
r16316:077ab9d8
Show More
test_decorators.py
9 lines | 170 B | text/x-python | PythonLexer
from IPython.utils import decorators
def test_flag_calls():
@decorators.flag_calls
def f():
pass
assert not f.called
f()
assert f.called