diff options
| author | Guido van Rossum <guido@python.org> | 1998-02-25 17:50:03 (GMT) |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1998-02-25 17:50:03 (GMT) |
| commit | 044b9dc1d717d5ec127a19095f0d803a3249c5b3 (patch) | |
| tree | 052b81d9615e62c93206c3b5a692299d81d15598 /Doc/partparse.py | |
| parent | 2f32fbba3425d0d76bb7cdc962e92c46119abe42 (diff) | |
| download | cpython-044b9dc1d717d5ec127a19095f0d803a3249c5b3.zip cpython-044b9dc1d717d5ec127a19095f0d803a3249c5b3.tar.gz cpython-044b9dc1d717d5ec127a19095f0d803a3249c5b3.tar.bz2 | |
Add back some safeguards on the index elements that were lost in the
last patch. Dave Ascher found a case that dumps core without these:
def myComparison(x,y):
return cmp(x%3,y%7)
z = range(12)
z.sort(myComparison)
Diffstat (limited to 'Doc/partparse.py')
0 files changed, 0 insertions, 0 deletions
