class passwd(str): def __repr__(self): return repr('*' * self.__len__())
Diff to Previous Revision
--- revision 2 2009-09-16 13:30:07 +++ revision 3 2012-06-23 18:00:21 @@ -1,3 +1,3 @@ class passwd(str): def __repr__(self): - repr('*' * self.__len__()) + return repr('*' * self.__len__())