~dsdale24/python-quantities/0.6

Viewing all changes in revision 173.

  • Committer: Darren Dale
  • Date: 2009-10-18 15:33:58 UTC
  • Revision ID: dsdale24@gmail.com-20091018153358-veoda0e1w1dj0k3m
1*pq.ft + pq.m would yield meters: python favors 
UnitQuantity.__radd__ since UnitQuantity derives from Quantity. We have
chosen the convention that the units of the first operand will be
preserved, this commit fixes the above example.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: