mirror of https://github.com/python/cpython
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. ........
This commit is contained in:
parent
60d6b35af9
commit
d940e35440