~hobs/pyexiv2/workarounds

Viewing all changes in revision 361.

  • Committer: Hobson Lane
  • Date: 2011-07-19 22:29:46 UTC
  • Revision ID: shopper@totalgood.com-20110719222946-0999o1lw70bdta7o
Added __repr__ method in utils.Rational class so that printing arrays of Rational objects like print([Rational(1,2),Rational(3,4)]) display the object values rather than its trace (name, rank, and serial number :).

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: