Ticket #6767: trac_6767.patch

File trac_6767.patch, 743 bytes (added by fwclarke, 13 years ago)
  • sage/rings/number_field/totallyreal_rel.py

    # HG changeset patch
    # User Francis Clarke <F.Clarke@Swansea.ac.uk>
    # Date 1250431478 -3600
    # Node ID 5d75fd2367a4542cb678bb26b3389393f7339c57
    # Parent  10e1cf775be33c122e5bf1c463002cd7071f11bb
    typo corrected
    
    diff -r 10e1cf775be3 -r 5d75fd2367a4 sage/rings/number_field/totallyreal_rel.py
    a b  
    635635        try:
    636636            m = Integer(m)
    637637        except:
    638             raise TypeError, "cannot coerce m (= %s) to an integer"%n
     638            raise TypeError, "cannot coerce m (= %s) to an integer" % m
    639639    if (m < 1):
    640640        raise ValueError, "m must be at least 1."
    641641