Skip to content

Commit 99d6346

Browse files
committed
Fix erroneous example code in README.md
1 parent 321b768 commit 99d6346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ return the default value. For example:
4949

5050
```Python
5151
import getpass
52-
from traitlets import HasTraits, Unicode, observe
52+
from traitlets import HasTraits, Unicode, default
5353

5454
class Identity(HasTraits):
5555
username = Unicode()

0 commit comments

Comments
 (0)