summaryrefslogtreecommitdiff
path: root/Python/pythonrun.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
commit569f1161c51ae4ff6dea0deafe2875727a3fb64c (patch)
tree16c1cfa2af51f63e6cc57d256fb7e59ddd2adf4d /Python/pythonrun.c
parent0b91eb7677aec2c45165bff57a216cbb574e91ea (diff)
downloadcpython-569f1161c51ae4ff6dea0deafe2875727a3fb64c.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/pythonrun.c')
0 files changed, 0 insertions, 0 deletions