Skip to content

Commit

Permalink
new version (set attr)
Browse files Browse the repository at this point in the history
  • Loading branch information
valdergallo committed Oct 31, 2016
1 parent c8e3794 commit a5448da
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,3 +151,12 @@ or
>>> c._1
'1'
```

or

```
>>> c = Cont()
>>> c.add(label='First Item',attr="my_attr", value=1)
>>> c.my_attr
'1'
```
2 changes: 1 addition & 1 deletion pyconst/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# encoding: utf-8
from __future__ import unicode_literals, absolute_import

__version__ = (1, 0, 2)
__version__ = (1, 0, 4)
__author__ = 'valdergallo@gmail.com'

from .const import Const
Expand Down

0 comments on commit a5448da

Please sign in to comment.