commit | 874f15aa289e30e32a74379749cf9b6bea674fde | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Sep 25 21:16:33 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Sep 25 21:16:33 2001 +0000 |
tree | 02b2fc5c01b5cd0e36bddda6fb46f9dc5e93d1f3 | |
parent | 29a67ced727feaeb62656f485929aa2d4d9ed1d3 [diff] |
add_operators(): the __floordiv__ and __truediv__ descriptors (and their 'i' and 'r' variants) were not being generated if the corresponding nb_ slots were present in the type object. I bet this is because floor and true division were introduced after I last looked at that part of the code.