##// END OF EJS Templates
DOC: Warn the user when they pass `default` to a TraitType....
DOC: Warn the user when they pass `default` to a TraitType. Most TraitType subclasses accept a `default_value` parameter. On more occasions than I care to admit, I've written something like: ``` class Foo(HasTraits): foo_int = Integer(default=5) ``` when what I actually meant was ``` class Foo(HasTraits): foo_int = Integer(default_value=5) ``` I suspect I'm not the only one who's had to track down this same bug multiple times.
Scott Sanderson -
r20649:fbe6a44e
Show More
Name Size Modified Last Commit Author
/ IPython / nbconvert / templates / skeleton
Makefile Loading ...
README.md Loading ...
display_priority.tpl Loading ...
null.tpl Loading ...

Template skeleton

This directory contains the template skeleton files.

Do not modify the contents of the ../latex/skeleton folder. Instead,
if you need to, make modifications to the files in this folder and then run
make to generate the corresponding latex skeleton files in the
../latex/skeleton folder.

If you would like to share your resulting templates with others, we encourage
sharing those links on our wiki
page
.