Message219827
Hello!
Working with Shelf instances in the interactive console is cumbersome because you can't have an instant feedback when running the following:
>>> from shelve import Shelf
>>> s = Shelf({})
>>> s['a'] = 1
>>> s
<shelve.Shelf object at 0x033D0AF0>
This patch adds an useful repr to Shelf objects.
>>> s
Shelf({'a': 1})
Thanks! |
|
Date |
User |
Action |
Args |
2014-06-05 17:26:57 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa |
2014-06-05 17:26:57 | Claudiu.Popa | set | messageid: <1401989217.73.0.191894123322.issue21670@psf.upfronthosting.co.za> |
2014-06-05 17:26:57 | Claudiu.Popa | link | issue21670 messages |
2014-06-05 17:26:57 | Claudiu.Popa | create | |
|