summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2000-06-18 22:25:22 +0000
committerMarc-André Lemburg <mal@egenix.com>2000-06-18 22:25:22 +0000
commit49ef6dc1f44c6d831fdd5c127b424cb5ecef2b78 (patch)
tree5702c4ebea5d4f5cafe663f460469bb5f5f48a77 /Python/sysmodule.c
parent2f4d0e9bb6a1988b59274bd6db980b214fb17d23 (diff)
downloadcpython-git-49ef6dc1f44c6d831fdd5c127b424cb5ecef2b78.tar.gz
Marc-Andre Lemburg <mal@lemburg.com>:
Fixed a bug in PyUnicode_Count() which would have caused a core dump in case of substring coercion failure. Synchronized .count() with the string method of the same name to return len(s)+1 for s.count('').
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions