]> granicus.if.org Git - python/commit
Undo this part of the previous checkin:
authorGuido van Rossum <guido@python.org>
Wed, 9 Oct 2002 19:14:30 +0000 (19:14 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 9 Oct 2002 19:14:30 +0000 (19:14 +0000)
commit8052f8921e569c5c7c9afff6dc973dde9ec8f2e5
tree333ceca266f31b399d7f89590c0248528df234df
parentb00c07f038b3fdc567eaf7ae3d6f5006dd66a5dd
Undo this part of the previous checkin:

  Also fixed an error message -- %s argument has non-string str()
  doesn't make sense for %r, so the error message now differentiates
  between %s and %r.

because PyObject_Repr() and PyObject_Str() ensure that this can never
happen.  Added a helpful comment instead.
Objects/stringobject.c