##// END OF EJS Templates
Add an optional `default` argument to trait metadata get, like the Python dict's .get() default argument...
Add an optional `default` argument to trait metadata get, like the Python dict's .get() default argument After this, trait_metadata('traitname', 'metadata_key', DEFAULT) will return DEFAULT if the metadata key is not set. DEFAULT defaults to None, like the existing behavior and like the python dict .get() behavior.

File last commit:

r11033:fa36e98f
r17673:1f9294c2
Show More
favicon.ico
0 lines | 1.4 KiB | image/x-icon | TextLexer
/ IPython / html / static / base / images / favicon.ico
rendered-image