Staging
v0.5.1
https://github.com/python/cpython
Revision 90daa8756920ef188d233a9b0c3672a841f064dd authored by Guido van Rossum on 10 April 2000, 13:47:21 UTC, committed by Guido van Rossum on 10 April 2000, 13:47:21 UTC
* string_contains now calls PyUnicode_Contains() only when the other
  operand is a Unicode string (not whenever it's not a string).

* New format style '%r' inserts repr(arg) instead of str(arg).

* '...%s...' % u"abc" now coerces to Unicode just like
  string methods. Care is taken not to reevaluate already formatted
  arguments -- only the first Unicode object appearing in the
  argument mapping is looked up twice. Added test cases for
  this to test_unicode.py.
1 parent b244f69
History
Tip revision: 90daa8756920ef188d233a9b0c3672a841f064dd authored by Guido van Rossum on 10 April 2000, 13:47:21 UTC
Marc-Andre Lemburg:
Tip revision: 90daa87

README

back to top