Skip to content

Commit 5cc5c7c

Browse files
authored
Update myapp.py
Provide an example of `shortname` usage, which is discussed in the comments but not demonstrated.
1 parent 41551bc commit 5cc5c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: examples/myapp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Foo(Configurable):
4444

4545
i = Int(0, help="The integer i.").tag(config=True)
4646
j = Int(1, help="The integer j.").tag(config=True)
47-
name = Unicode(u'Brian', help="First name.").tag(config=True)
47+
name = Unicode(u'Brian', help="First name.").tag(config=True, shortname="B")
4848

4949

5050
class Bar(Configurable):

0 commit comments

Comments
 (0)