]> granicus.if.org Git - python/commit
str and unicode objects now have a __mod__ slot so don't special case them in
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Mon, 18 Nov 2002 16:04:52 +0000 (16:04 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Mon, 18 Nov 2002 16:04:52 +0000 (16:04 +0000)
commit26db587485ea4e133e8de35aa6ab61f6c51fd993
treeabeb4fcde27d5727f68c23318ba183c4dbc14013
parent47ec6c079087740eb73c1df0499743e6b931d89f
str and unicode objects now have a __mod__ slot so don't special case them in
PyNumber_Remainder().  This fixes SF bug #615506 and allows string and unicode
subclasses to override __mod__.
Objects/abstract.c