satya, 20 days ago TIL, after 22 years of using Python, that str.startswith can take a tuple of prefixes. #Python
TIL, after 22 years of using Python, that str.startswith can take a tuple of prefixes.
str.startswith
#Python
Yhg1s, 20 days ago @satya Don't worry, that's only a thing since Python 2.5, so that's 18 years, not 22 😇
@satya Don't worry, that's only a thing since Python 2.5, so that's 18 years, not 22 😇
Add comment