1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/pip/backwardcompat.py
2009-11-20 01:10:46 -06:00

13 lines
218 B
Python

"""Stuff that isn't in some old versions of Python"""
__all__ = ['any']
try:
any
except NameError:
def any(seq):
for item in seq:
if item:
return True
return False