summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-08-09 15:20:48 +0000
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2002-08-09 15:20:48 +0000
commit3bc3f28dbec7ec3f221d9293e05e0cf1ba5f20aa (patch)
tree81296a81fc0e196a4ca8d09ad6e1d6a5f132fd9f /Python/codecs.c
parenta3502703029dbe09c705417c56191784e56a062e (diff)
downloadcpython-git-3bc3f28dbec7ec3f221d9293e05e0cf1ba5f20aa.tar.gz
Only call sq_repeat if the object does not have a nb_multiply slot. One
example of where this changes behavior is when a new-style instance defines '__mul__' and '__rmul__' and is multiplied by an int. Before the change the '__rmul__' method is never called, even if the int is the left operand.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions