Mercurial > pylearn
changeset 1437:4b27456d3bce
renamed output as key for dictionary ( from field). Now for dictionary we have keys, for tuples/list we have entries and for object fields
author | Razvan Pascanu <r.pascanu@gmail.com> |
---|---|
date | Tue, 22 Feb 2011 11:43:39 -0500 |
parents | 35b56d794d09 |
children | 8f15ef656598 |
files | bin/pkldu.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/pkldu.py Tue Feb 22 11:40:02 2011 -0500 +++ b/bin/pkldu.py Tue Feb 22 11:43:39 2011 -0500 @@ -100,7 +100,7 @@ x = cPickle.loads(s) t2 = time.time() new_t = t2 - t1 - print_entry = 'field: %40s %6.2f %s ( loads in %6.2f %s)'%( + print_entry = 'key: %40s %6.2f %s ( loads in %6.2f %s)'%( (key_name,) + prettyprint(new_bytes, space_units, options.human) + prettyprint(new_t, time_units, options.human) )