Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r75451:ae1e7c5107b0
Date: 2015-01-20 18:28 +0100
http://bitbucket.org/pypy/pypy/changeset/ae1e7c5107b0/

Log:    fix message (ebarrett)

diff --git a/rpython/annotator/classdef.py b/rpython/annotator/classdef.py
--- a/rpython/annotator/classdef.py
+++ b/rpython/annotator/classdef.py
@@ -129,7 +129,8 @@
                 self.attr_allowed = False
                 if not self.readonly:
                     raise NoSuchAttrError(
-                        "setting forbidden attribute %r on %r" % (
+                        "the attribute %r goes here to %r, "
+                        "but it is forbidden here" % (
                         self.name, homedef))
 
     def modified(self, classdef='?'):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to