summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-09-22 21:49:35 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-09-22 21:49:35 (GMT)
commitd940e3544059e98dea0df8b1181b3a04b6d4167f (patch)
treed7491a9913f85dfa5e9bf5b3e359f9e27c85de37
parent60d6b35af96109af36a6f637d071c29a47b3213f (diff)
downloadcpython-d940e3544059e98dea0df8b1181b3a04b6d4167f.zip
cpython-d940e3544059e98dea0df8b1181b3a04b6d4167f.tar.gz
cpython-d940e3544059e98dea0df8b1181b3a04b6d4167f.tar.bz2
Blocked revisions 75028 via svnmerge
........ r75028 | mark.dickinson | 2009-09-22 22:47:24 +0100 (Tue, 22 Sep 2009) | 4 lines Issue #1766304: Optimize membership testing for ranges: 'n in range(...)' does an O(1) check, if n is an integer. Non-integers aren't affected. Thanks Robert Lehmann. ........
0 files changed, 0 insertions, 0 deletions