diff options
author | Guido van Rossum <guido@python.org> | 2000-04-10 13:47:21 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-10 13:47:21 +0000 |
commit | 90daa8756920ef188d233a9b0c3672a841f064dd (patch) | |
tree | b3d8e80c216cd50f9791cbb54b0646f60018e20d /Python/compile.c | |
parent | b244f6950bd739a1d5dea7e119150e90ac03604f (diff) | |
download | cpython-git-90daa8756920ef188d233a9b0c3672a841f064dd.tar.gz |
Marc-Andre Lemburg:
* 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.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions