Mercurial > pytave
changeset 379:24546b7021db
pyobject.display: remove hash value and show class in display (fixes issue #71)
author | Vijay Krishnavanshi <vijaykrishnavanshi@gmail.com> |
---|---|
date | Fri, 17 Mar 2017 01:30:53 +0530 |
parents | cfd01e91d8e6 |
children | b054a6833022 |
files | @pyobject/display.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/@pyobject/display.m Wed Jan 18 11:13:38 2017 -0800 +++ b/@pyobject/display.m Fri Mar 17 01:30:53 2017 +0530 @@ -41,7 +41,7 @@ loose = ! __compactformat__ (); - printf ("%s = [pyobject 0x%x]\n", inputname (1), id (x)); + printf ("%s = [Python object of type %s]\n", inputname (1), __py_class_name__ (x)); s = char (x); s = make_indented (s); if (loose), printf ("\n"); endif