Author: Philip Jenvey <pjen...@underboss.org> Branch: Changeset: r57986:09c4d1749dc2 Date: 2012-10-10 12:03 -0700 http://bitbucket.org/pypy/pypy/changeset/09c4d1749dc2/
Log: update comment diff --git a/pypy/module/__builtin__/operation.py b/pypy/module/__builtin__/operation.py --- a/pypy/module/__builtin__/operation.py +++ b/pypy/module/__builtin__/operation.py @@ -45,8 +45,8 @@ # string to the rest of the code. XXX not entirely sure if these three # functions are the only way for non-string objects to reach # space.{get,set,del}attr()... - # Note that if w_name is already a string (or a subclass of str), - # it must be returned unmodified (and not e.g. unwrapped-rewrapped). + # Note that if w_name is already an exact string it must be returned + # unmodified (and not e.g. unwrapped-rewrapped). if not space.is_w(space.type(w_name), space.w_str): name = space.str_w(w_name) # typecheck w_name = space.wrap(name) # rewrap as a real string _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit